cpython/Tools/peg_generator/pegen
Lysandros Nikolaou cfcb952e30
[3.9] bpo-42218: Correctly handle errors in left-recursive rules (GH-23065) (GH-23066)
Left-recursive rules need to check for errors explicitly, since
even if the rule returns NULL, the parsing might continue and lead
to long-distance failures.

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
(cherry picked from commit 02cdfc93f8)

Automerge-Triggered-By: GH:lysnikolaou
2020-10-31 12:06:03 -07:00
..
__init__.py
__main__.py bpo-40334: Refactor peg_generator to receive a Tokens file when building c code (GH-19745) 2020-04-28 13:11:55 +01:00
ast_dump.py Fix some scripts in the peg generator folder (GH-19853) 2020-05-02 05:23:06 +01:00
build.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
c_generator.py [3.9] bpo-42218: Correctly handle errors in left-recursive rules (GH-23065) (GH-23066) 2020-10-31 12:06:03 -07:00
first_sets.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
grammar.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
grammar_parser.py bpo-40334: regenerate metaparser as part of regen-all (GH-19854) 2020-05-02 05:23:39 +01:00
grammar_visualizer.py Clean up unused imports for the peg generator module (GH-19891) 2020-05-04 03:03:05 +01:00
keywordgen.py [3.9] Include soft keywords in keyword.py (GH-20877). (GH-20880) 2020-06-15 04:31:05 +01:00
metagrammar.gram
parser.py
parser_generator.py [3.9] Fix typing problems reported by mypy in pegen (GH-20297) (GH-20300) 2020-05-21 22:09:43 +01:00
python_generator.py [3.9] Fix 'gather' rules in the python parser generator (GH-22021) (GH-22080) 2020-09-03 16:35:36 +01:00
sccutils.py
testutil.py bpo-40750: Support -d flag in the new parser (GH-20340) 2020-05-25 10:58:03 -07:00
tokenizer.py