pay attention to the TokenLabelType
This commit is contained in:
parent
e63e9774d8
commit
5403d9bae9
|
@ -526,7 +526,7 @@ SetNonLocalAttr(s, rhsChunks) ::=
|
|||
|
||||
AddToLabelList(a) ::= "<ctx(a.label)>.<a.listName>.add(<labelref(a.label)>);"
|
||||
|
||||
TokenDecl(t) ::= "public Token <t.name>;"
|
||||
TokenDecl(t) ::= "public <TokenLabelType()> <t.name>;"
|
||||
TokenTypeDecl(t) ::= "int <t.name>;"
|
||||
TokenListDecl(t) ::= "public List\<Token> <t.name> = new ArrayList\<Token>();"
|
||||
RuleContextDecl(r) ::= "public <r.ctxName> <r.name>;"
|
||||
|
|
Loading…
Reference in New Issue