diff options
-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 ;; (identity $2) ; -;; fplist: fpdef (',' fpdef)* [','] -fplist - : fpdef_list comma_opt - ; - -;; fpdef (',' fpdef)* -fpdef_list - : fpdef - | fpdef_list COMMA fpdef - ; +;; These rules are now useless because the above rule doesn't refer to them. +;; ;; fplist: fpdef (',' fpdef)* [','] +;; fplist +;; : fpdef_list comma_opt +;; ; + +;; ;; fpdef (',' fpdef)* +;; fpdef_list +;; : fpdef +;; | fpdef_list COMMA fpdef +;; ; ;; ['=' test] eq_test_opt |