summaryrefslogtreecommitdiffstats
path: root/Doc/runtime.txt
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-05-10 04:34:50 (GMT)
committerGitHub <noreply@github.com>2020-05-10 04:34:50 (GMT)
commitac7a92cc0a821699df48bc2e30a02c25d6338f78 (patch)
treed7f301b66d79b6d3ce497669a99a5f9ce47ba3b5 /Doc/runtime.txt
parent2c3d508c5fabe40dac848fb9ae558069f0576879 (diff)
downloadcpython-ac7a92cc0a821699df48bc2e30a02c25d6338f78.zip
cpython-ac7a92cc0a821699df48bc2e30a02c25d6338f78.tar.gz
cpython-ac7a92cc0a821699df48bc2e30a02c25d6338f78.tar.bz2
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`
Diffstat (limited to 'Doc/runtime.txt')
0 files changed, 0 insertions, 0 deletions