Fix inconsistency in elementOption syntax in tree grammars
This commit is contained in:
parent
3946c05eec
commit
ee8344703b
|
@ -194,4 +194,5 @@ elementOption
|
|||
| ^(ASSIGN ID ID)
|
||||
| ^(ASSIGN ID STRING_LITERAL)
|
||||
| ^(ASSIGN ID ACTION)
|
||||
| ^(ASSIGN ID INT)
|
||||
;
|
||||
|
|
|
@ -989,4 +989,5 @@ elementOption[GrammarASTWithOptions t]
|
|||
| ^(ASSIGN id=ID v=ID) {elementOption(t, $id, $v);}
|
||||
| ^(ASSIGN ID v=STRING_LITERAL) {elementOption(t, $ID, $v);}
|
||||
| ^(ASSIGN ID v=ACTION) {elementOption(t, $ID, $v);}
|
||||
| ^(ASSIGN ID v=INT) {elementOption(t, $ID, $v);}
|
||||
;
|
||||
|
|
|
@ -177,6 +177,8 @@ elementOption
|
|||
: ID
|
||||
| ^(ASSIGN ID ID)
|
||||
| ^(ASSIGN ID STRING_LITERAL)
|
||||
| ^(ASSIGN ID ACTION)
|
||||
| ^(ASSIGN ID INT)
|
||||
;
|
||||
|
||||
element
|
||||
|
|
Loading…
Reference in New Issue