From: Lars Ingebrigtsen Date: Tue, 18 Jun 2019 00:42:44 +0000 (+0200) Subject: Comment out useless nonterminals from python.wy X-Git-Tag: emacs-27.0.90~2425 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=010db58e03cbd7e65576cc107db08ebd2ab4086d;p=emacs.git Comment out useless nonterminals from python.wy --- 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