mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Remove nonterminals that semantic claims are useless
* admin/grammars/js.wy (VariableStatement): Remove useless nonterminals. Debug output from wisent: Useless nonterminals: StatementList BlockExpand
This commit is contained in:
parent
b441e8cd7c
commit
1b855aa8dd
1 changed files with 0 additions and 8 deletions
|
|
@ -296,19 +296,11 @@ FormalParameterList: OPEN_PARENTHESIS
|
|||
()
|
||||
;
|
||||
|
||||
StatementList : Statement
|
||||
| StatementList Statement
|
||||
;
|
||||
|
||||
Block : BRACE_BLOCK
|
||||
;; If you want to parse the body of the function
|
||||
;; ( EXPANDFULL $1 BlockExpand )
|
||||
;
|
||||
|
||||
BlockExpand: START_BLOCK StatementList END_BLOCK
|
||||
| START_BLOCK END_BLOCK
|
||||
;
|
||||
|
||||
VariableStatement : VAR VariableDeclarationList SEMICOLON
|
||||
(VARIABLE-TAG $2 nil nil)
|
||||
;
|
||||
|
|
|
|||
Loading…
Reference in a new issue