pay attention to the TokenLabelType

This commit is contained in:
Terence Parr 2012-09-07 16:57:35 -07:00
parent e63e9774d8
commit 5403d9bae9
1 changed files with 1 additions and 1 deletions

View File

@ -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>;"