diff options
Diffstat (limited to 'grammars/python.bp')
| -rw-r--r-- | grammars/python.bp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammars/python.bp b/grammars/python.bp index 51c3c44..ee749d0 100644 --- a/grammars/python.bp +++ b/grammars/python.bp @@ -8,11 +8,11 @@ comment: `# ..$ string: "'''" ..%\n "'''" / '"""' ..%\n '"""' / `" ..%string-escape `" / `' ..%string-escape `' -keyword: "and" / "as" / "assert" / "break" / "class" / "continue" / "def" / +keyword: ("and" / "as" / "assert" / "break" / "class" / "continue" / "def" / "del" / "elif" / "else" / "except" / "finally" / "for" / "from" / "global" / "if" / "import" / "in" / "is" / "lambda" / "None" / "nonlocal" / "not" / "or" / "pass" / "raise" / "return" / "try" / "while" / - "with" / "yield" + "with" / "yield") class: class-def +(\N ..$) class-def: ^_"class"|_id[_parens]_`: function: function-def +(\N ..$) |
