]> git.eshelyaron.com Git - emacs.git/commitdiff
Comment out useless nonterminals from python.wy
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Jun 2019 00:42:44 +0000 (02:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Jun 2019 09:33:40 +0000 (11:33 +0200)
admin/grammars/python.wy

index 695e612942ac280c88dcdc4bb40a912dddad3755..082850df59cd0ff83692b06aa3af786f16c86bd3 100644 (file)
@@ -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