[antlr-interest] A question about literals
richardhensley99
richard.hensley at mckesson.com
Fri Aug 30 12:21:04 PDT 2002
My grammar generates the following TokenTypes, however the varchar2
is commented, instead of being LITERAL_varchar2 = 16. Why does this
happen?
public interface OracleDDLTokenTypes {
int EOF = 1;
int NULL_TREE_LOOKAHEAD = 3;
int LITERAL_execute = 4;
int COMMANDEND = 5;
int ID = 6;
int LPAREN = 7;
int RPAREN = 8;
int COMMA = 9;
int QUOTED_STRING = 10;
int LITERAL_whenever = 11;
int LITERAL_sqlerror = 12;
int LITERAL_create = 13;
int LITERAL_table = 14;
int LITERAL_tablespace = 15;
// "varchar2" = 16
int LITERAL_varchar = 17;
int LITERAL_number = 18;
int LITERAL_date = 19;
int LITERAL_integer = 20;
int LITERAL_long = 21;
int LITERAL_raw = 22;
int CARDINAL = 23;
int LITERAL_index = 24;
int LITERAL_view = 25;
int LITERAL_drop = 26;
int LITERAL_insert = 27;
int WS = 28;
int SL_COMMENT = 29;
}
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list