Permalink
Browse files

cleanup

  • Loading branch information...
1 parent ac7cfdc commit f3946800b05010052dd1878a5e7e032d3af07c9c @bmabey bmabey committed Apr 27, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 cucumber.py
View
6 cucumber.py
@@ -18,19 +18,19 @@ class GherkinLexer(RegexLexer):
(r'(Given|When|Then|And|But)', Keyword, "#pop"),
include('comments'),
(r"(\s|.)", Name.Constant),
- ],
+ ],
'scenario_table_description': [
(r"\s+\|", Text, 'scenario_table_header'),
include('comments'),
(r"(\s|.)", Name.Constant),
- ],
+ ],
'scenario_table_header': [
(r"\s+\|\s*$", Text, "#pop:2"),
(r"(\s+\|\s*)(#.*)$", bygroups(Text, Comment), "#pop:2"),
include('comments'),
(r"\s+\|", Text),
(r"[^\|]", Literal.String.Symbol),
- ],
+ ],
'narrative': [
(r'(\s+)(Background|Scenario|Scenario Outline)(:)(.*)$', bygroups(Text, Name.Class, Name.Class, Name.Constant), "#pop"),
(r"(\s|.)", Name.Builtin),

0 comments on commit f394680

Please sign in to comment.