Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cleanup

  • Loading branch information...
commit f3946800b05010052dd1878a5e7e032d3af07c9c 1 parent ac7cfdc
Ben Mabey bmabey authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 cucumber.py
6 cucumber.py
@@ -18,19 +18,19 @@ class GherkinLexer(RegexLexer):
18 18 (r'(Given|When|Then|And|But)', Keyword, "#pop"),
19 19 include('comments'),
20 20 (r"(\s|.)", Name.Constant),
21   - ],
  21 + ],
22 22 'scenario_table_description': [
23 23 (r"\s+\|", Text, 'scenario_table_header'),
24 24 include('comments'),
25 25 (r"(\s|.)", Name.Constant),
26   - ],
  26 + ],
27 27 'scenario_table_header': [
28 28 (r"\s+\|\s*$", Text, "#pop:2"),
29 29 (r"(\s+\|\s*)(#.*)$", bygroups(Text, Comment), "#pop:2"),
30 30 include('comments'),
31 31 (r"\s+\|", Text),
32 32 (r"[^\|]", Literal.String.Symbol),
33   - ],
  33 + ],
34 34 'narrative': [
35 35 (r'(\s+)(Background|Scenario|Scenario Outline)(:)(.*)$', bygroups(Text, Name.Class, Name.Class, Name.Constant), "#pop"),
36 36 (r"(\s|.)", Name.Builtin),

0 comments on commit f394680

Please sign in to comment.
Something went wrong with that request. Please try again.