diff options
author | Georg Brandl <georg@python.org> | 2010-01-01 20:12:45 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-01-01 20:12:45 +0100 |
commit | 8448d17a2983fb01855000411f30d1625389771f (patch) | |
tree | a52bbcbe68c16987b57eefbbe77422b4b29cedfd /pygments/lexers/other.py | |
parent | 9e93673ceddccc55e4bcdc03acebf3f258481c90 (diff) | |
download | pygments-8448d17a2983fb01855000411f30d1625389771f.tar.gz |
Fix various "make check" issues.
Diffstat (limited to 'pygments/lexers/other.py')
-rw-r--r-- | pygments/lexers/other.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pygments/lexers/other.py b/pygments/lexers/other.py index 0b18c77a..d3eac45c 100644 --- a/pygments/lexers/other.py +++ b/pygments/lexers/other.py @@ -923,7 +923,7 @@ class LogtalkLexer(RegexLexer): 'directive': [ # Conditional compilation directives - (r'(el)?if(?=[(])', Keyword, 'root'), + (r'(el)?if(?=[(])', Keyword, 'root'), (r'(e(lse|ndif))[.]', Keyword, 'root'), # Entity directives (r'(category|object|protocol)(?=[(])', Keyword, 'entityrelations'), @@ -2136,7 +2136,9 @@ class GherkinLexer(RegexLexer): (r"[^\|]", Name.Variable), ], 'scenario_sections_on_stack': [ - (scenario_keywords_regexp, bygroups(Text, Name.Class, Name.Class, Name.Constant), "multiline_descriptions_on_stack"), + (scenario_keywords_regexp, + bygroups(Text, Name.Class, Name.Class, Name.Constant), + "multiline_descriptions_on_stack"), ], 'narrative': [ include('scenario_sections_on_stack'), @@ -2170,9 +2172,14 @@ class GherkinLexer(RegexLexer): include('table_vars'), (r'@[^@\s]+', Name.Namespace), (step_keywords_regexp, bygroups(Text, Keyword)), - (feature_keywords_regexp, bygroups(Name.Class, Name.Class, Name.Constant), 'narrative'), - (scenario_keywords_regexp, bygroups(Text, Name.Class, Name.Class, Name.Constant), "multiline_descriptions"), - (examples_regexp, bygroups(Text, Name.Class, Name.Class, Name.Constant), "scenario_table_description"), + (feature_keywords_regexp, + bygroups(Name.Class, Name.Class, Name.Constant), 'narrative'), + (scenario_keywords_regexp, + bygroups(Text, Name.Class, Name.Class, Name.Constant), + "multiline_descriptions"), + (examples_regexp, + bygroups(Text, Name.Class, Name.Class, Name.Constant), + "scenario_table_description"), (r'(\s|.)', Text), ] } |