diff options
| author | Lars Ingebrigtsen | 2019-06-18 02:42:44 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-18 11:33:40 +0200 |
| commit | 010db58e03cbd7e65576cc107db08ebd2ab4086d (patch) | |
| tree | 3a4b7410229e7e80ea7819d503d92823456e3316 /admin/grammars/python.wy | |
| parent | 1b855aa8dd0cf41e515fcec1083196b60e98aafe (diff) | |
| download | emacs-010db58e03cbd7e65576cc107db08ebd2ab4086d.tar.gz emacs-010db58e03cbd7e65576cc107db08ebd2ab4086d.zip | |
Comment out useless nonterminals from python.wy
Diffstat (limited to 'admin/grammars/python.wy')
| -rw-r--r-- | admin/grammars/python.wy | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/admin/grammars/python.wy b/admin/grammars/python.wy index 695e612942a..082850df59c 100644 --- a/admin/grammars/python.wy +++ b/admin/grammars/python.wy | |||
| @@ -1147,16 +1147,17 @@ fpdef | |||
| 1147 | ;; (identity $2) | 1147 | ;; (identity $2) |
| 1148 | ; | 1148 | ; |
| 1149 | 1149 | ||
| 1150 | ;; fplist: fpdef (',' fpdef)* [','] | 1150 | ;; These rules are now useless because the above rule doesn't refer to them. |
| 1151 | fplist | 1151 | ;; ;; fplist: fpdef (',' fpdef)* [','] |
| 1152 | : fpdef_list comma_opt | 1152 | ;; fplist |
| 1153 | ; | 1153 | ;; : fpdef_list comma_opt |
| 1154 | 1154 | ;; ; | |
| 1155 | ;; fpdef (',' fpdef)* | 1155 | |
| 1156 | fpdef_list | 1156 | ;; ;; fpdef (',' fpdef)* |
| 1157 | : fpdef | 1157 | ;; fpdef_list |
| 1158 | | fpdef_list COMMA fpdef | 1158 | ;; : fpdef |
| 1159 | ; | 1159 | ;; | fpdef_list COMMA fpdef |
| 1160 | ;; ; | ||
| 1160 | 1161 | ||
| 1161 | ;; ['=' test] | 1162 | ;; ['=' test] |
| 1162 | eq_test_opt | 1163 | eq_test_opt |