Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
enscript
enscript-1.6.4-perl_parens.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enscript-1.6.4-perl_parens.patch of Package enscript
--- states/hl/perl.st +++ states/hl/perl.st 2010-03-31 00:00:00.000000000 +0000 @@ -4,6 +4,7 @@ * * Author: Jim Villani, Logistics Management Institute (jvillani@lmi.org) * perl_pod mods by Gregor Purdy (gregor@focusresearch.com) + * perl_parens by Josh Zenker (josh.zenker@sig.com) */ state perl_pod extends Highlight @@ -58,6 +59,18 @@ state perl_bquot_string extends Highligh } } +state perl_parens extends Highlight +{ + /\\\\./ { + language_print ($0); + } + /\)/ { + language_print ($0); + return; + } +} + + state perl extends HighlightEntry { /* Comments. */ @@ -186,6 +199,12 @@ state perl extends HighlightEntry language_print ($0); call (perl_pod); } + + /* parentheses */ + /\(/ { + language_print ($0); + call (perl_parens); + } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor