mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
ac7a92cc0a
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` |
||
---|---|---|
.. | ||
pegen | ||
pgen | ||
acceler.c | ||
asdl.py | ||
asdl_c.py | ||
grammar1.c | ||
listnode.c | ||
myreadline.c | ||
node.c | ||
parser.c | ||
parser.h | ||
parsetok.c | ||
Python.asdl | ||
token.c | ||
tokenizer.c | ||
tokenizer.h |