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.
|
||
|---|---|---|
| .. | ||
| python.gram | ||
| Tokens | ||