From 010db58e03cbd7e65576cc107db08ebd2ab4086d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 18 Jun 2019 02:42:44 +0200 Subject: [PATCH] Comment out useless nonterminals from python.wy --- admin/grammars/python.wy | 21 +++++++++++---------- 1 file 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 -- 2.39.2