off by 1 error.

This commit is contained in:
Terence Parr 2012-07-03 13:44:44 -07:00
parent d0e7e79b2b
commit 00808ef11f
1 changed files with 1 additions and 2 deletions

View File

@ -123,8 +123,7 @@ public <if(parser.abstractRecognizer)>abstract <endif>class <parser.name> extend
<parser.tokens:{k | <k>=<parser.tokens.(k)>}; separator=", ", wrap, anchor>;
<endif>
public static final String[] tokenNames = {
"\<INVALID>",
<parser.tokenNames:{t | <t>}; null="null", separator=", ", wrap, anchor>
<parser.tokenNames:{t | <t>}; null="\"\<INVALID>\"", separator=", ", wrap, anchor>
};
public static final int
<parser.rules:{r | RULE_<r.name> = <r.index>}; separator=", ", wrap, anchor>;