summaryrefslogtreecommitdiff
path: root/pygments/lexers/parsers.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2012-01-03 16:42:30 -0600
committerTim Hatch <tim@timhatch.com>2012-01-03 16:42:30 -0600
commite6abbe90c96cb77c0a775c8ae4427eb2f49c1f98 (patch)
tree6dadd733c772f1f47590e9f8dc9fda3cd5cd9b48 /pygments/lexers/parsers.py
parent266ef9ac46fe1d2c72c829019a467d51f6c04b40 (diff)
parente7c58665d02d9a9ca75f7600361c8bb2f1989981 (diff)
downloadpygments-e6abbe90c96cb77c0a775c8ae4427eb2f49c1f98.tar.gz
Merge pygments-main with pygments-tim
Diffstat (limited to 'pygments/lexers/parsers.py')
-rw-r--r--pygments/lexers/parsers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/parsers.py b/pygments/lexers/parsers.py
index b2310488..908d3a3d 100644
--- a/pygments/lexers/parsers.py
+++ b/pygments/lexers/parsers.py
@@ -72,8 +72,8 @@ class RagelLexer(RegexLexer):
],
'operators': [
(r',', Operator), # Join
- (r'\||&|-|--', Operator), # Union, Intersection and Subtraction
- (r'\.|<:|:>|:>>', Operator), # Concatention
+ (r'\||&|--?', Operator), # Union, Intersection and Subtraction
+ (r'\.|<:|:>>?', Operator), # Concatention
(r':', Operator), # Label
(r'->', Operator), # Epsilon Transition
(r'(>|\$|%|<|@|<>)(/|eof\b)', Operator), # EOF Actions