mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
* Add to the peg generator a new directive ('&&') that allows to expect
a token and hard fail the parsing if the token is not found. This
allows to quickly emmit syntax errors for missing tokens.
* Use the new grammar element to hard-fail if the ':' is missing before
suites.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| ast_dump.py | ||
| build.py | ||
| c_generator.py | ||
| first_sets.py | ||
| grammar.py | ||
| grammar_parser.py | ||
| grammar_visualizer.py | ||
| keywordgen.py | ||
| metagrammar.gram | ||
| parser.py | ||
| parser_generator.py | ||
| python_generator.py | ||
| sccutils.py | ||
| testutil.py | ||
| tokenizer.py | ||
| validator.py | ||