Skip to content

Commit e5d5d55

Browse files
Rosuavncoghlan
authored andcommitted
Update some of the Grammar/Grammar editing instructions (#332)
We removed the temperamental input file change detection for some of the checked in files, so they now need to be regenerated explicitly after updating their inputs.
1 parent c087810 commit e5d5d55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grammar.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ Checklist
3030

3131
* Grammar/Grammar: OK, you'd probably worked this one out :)
3232

33-
* Parser/Python.asdl may need changes to match the Grammar. Run make to
34-
regenerate Include/Python-ast.h and Python/Python-ast.c.
33+
* Parser/Python.asdl may need changes to match the Grammar. Then run 'make
34+
regen-ast' to regenerate Include/Python-ast.h and Python/Python-ast.c.
3535

3636
* Python/ast.c will need changes to create the AST objects involved with the
3737
Grammar change.
3838

3939
* Parser/pgen needs to be rerun to regenerate Include/graminit.h and
40-
Python/graminit.c. (make should handle this for you.)
40+
Python/graminit.c. ('make regen-grammar' should handle this for you.)
4141

4242
* Python/symtable.c: This handles the symbol collection pass
4343
that happens immediately before the compilation pass.

0 commit comments

Comments
 (0)