mirror of
https://github.com/python/cpython.git
synced 2024-12-06 00:05:32 +08:00
58fb156edd
* 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_c.py | ||
asdl.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 |