[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 010db58 3/5: Comment out useless nonterminals from
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 010db58 3/5: Comment out useless nonterminals from python.wy |
Date: |
Tue, 18 Jun 2019 05:51:02 -0400 (EDT) |
branch: master
commit 010db58e03cbd7e65576cc107db08ebd2ab4086d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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 695e612..082850d 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