diff options
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 |