cpython/Parser/pegen
Guido van Rossum b45af1a569
Add soft keywords (GH-20370)
These are like keywords but they only work in context; they are not reserved except when there is an exact match.

This would enable things like match statements without reserving `match` (which would be bad for the `re.match()` function and probably lots of other places).

Automerge-Triggered-By: @gvanrossum
2020-05-26 10:58:44 -07:00
..
parse.c bpo-40750: Do not expand the new parser debug flags if Py_BUILD_CORE is not defined (GH-20393) 2020-05-25 20:17:12 +01:00
parse_string.c bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399) 2020-05-26 01:32:18 +01:00
parse_string.h bpo-40334: Fix error location upon parsing an invalid string literal (GH-19962) 2020-05-07 11:37:51 +01:00
peg_api.c bpo-40334: Make the PyPegen* and PyParser* APIs more consistent (GH-19839) 2020-05-01 18:30:51 +01:00
pegen.c Add soft keywords (GH-20370) 2020-05-26 10:58:44 -07:00
pegen.h Add soft keywords (GH-20370) 2020-05-26 10:58:44 -07:00