cpython/Tools/peg_generator
Pablo Galindo ac7a92cc0a
bpo-40334: Avoid collisions between parser variables and grammar variables (GH-19987)
This is for the C generator:
- Disallow rule and variable names starting with `_`
- Rename most local variable names generated by the parser to start with `_`

Exceptions:
- Renaming `p` to `_p` will be a separate PR
- There are still some names that might clash, e.g.
  - anything starting with `Py`
  - C reserved words (`if` etc.)
  - Macros like `EXTRA` and `CHECK`
2020-05-09 21:34:50 -07:00
..
data Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
peg_extension Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
pegen bpo-40334: Avoid collisions between parser variables and grammar variables (GH-19987) 2020-05-09 21:34:50 -07:00
scripts Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
.clang-format
.gitignore
Makefile bpo-40334: refactor and cleanup for the PEG generators (GH-19775) 2020-04-29 10:42:21 +01:00
mypy.ini
pyproject.toml
requirements.pip