mirror of
https://github.com/python/cpython.git
synced 2024-12-05 07:43:50 +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. |
||
---|---|---|
.. | ||
python.gram | ||
Tokens |