Skip to content

Commit 5043a30

Browse files
committed
Add comment regarding updating the peg generator when adding tokens
1 parent bc0ffe8 commit 5043a30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Grammar/Tokens

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# When adding new tokens, remember to update as well the peg generator in
2+
# Tools/peg_generator/pegen/parser_generator.py
3+
# This will ensure that older versions of Python can generate a Python parser
4+
# using "python -m pegen python <GRAMMAR FILE>".
15
ENDMARKER
26
NAME
37
NUMBER

0 commit comments

Comments
 (0)