summaryrefslogtreecommitdiff
path: root/pygments/lexers/chapel.py
diff options
context:
space:
mode:
authorben_albrecht <devnull@localhost>2016-09-15 10:30:15 -0700
committerben_albrecht <devnull@localhost>2016-09-15 10:30:15 -0700
commitc0f5f2755b3e6134b07abfd37feed5b93603152b (patch)
tree2783e38c268a7c1c7677f5771c40ee60b36bfe39 /pygments/lexers/chapel.py
parent56e75b33d66738b072f9f5525f3af4a8ba863d8b (diff)
downloadpygments-c0f5f2755b3e6134b07abfd37feed5b93603152b.tar.gz
Update Chapel lexer to accept proc names starting with non a-z chars
Diffstat (limited to 'pygments/lexers/chapel.py')
-rw-r--r--pygments/lexers/chapel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/chapel.py b/pygments/lexers/chapel.py
index e6507394..a24a77d0 100644
--- a/pygments/lexers/chapel.py
+++ b/pygments/lexers/chapel.py
@@ -96,6 +96,6 @@ class ChapelLexer(RegexLexer):
(r'[a-zA-Z_][\w$]*', Name.Class, '#pop'),
],
'procname': [
- (r'[a-zA-Z_][\w$]*', Name.Function, '#pop'),
+ (r'[\+\-\*\/\!\~\%\<\>\=\&\^\|a-zA-Z]*', Name.Function, '#pop'),
],
}