mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +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.
|
||
|---|---|---|
| .. | ||
| asdl.py | ||
| asdl_c.py | ||
| myreadline.c | ||
| parser.c | ||
| peg_api.c | ||
| pegen.c | ||
| pegen.h | ||
| Python.asdl | ||
| string_parser.c | ||
| string_parser.h | ||
| token.c | ||
| tokenizer.c | ||
| tokenizer.h | ||