ISL_TOKEN_UNKNOWN = 256, ISL_TOKEN_VALUE,
ISL_TOKEN_IDENT, ISL_TOKEN_GE,
ISL_TOKEN_LE, ISL_TOKEN_GT, ISL_TOKEN_LT,
+ ISL_TOKEN_LEX_GE, ISL_TOKEN_LEX_LE,
+ ISL_TOKEN_LEX_GT, ISL_TOKEN_LEX_LT,
ISL_TOKEN_TO, ISL_TOKEN_AND,
ISL_TOKEN_OR, ISL_TOKEN_EXISTS,
ISL_TOKEN_DEF, ISL_TOKEN_INFTY, ISL_TOKEN_NAN,
if ((c = isl_stream_getc(s)) == '=') {
tok->type = ISL_TOKEN_GE;
return tok;
- }
+ } else if (c == '>') {
+ if ((c = isl_stream_getc(s)) == '=') {
+ tok->type = ISL_TOKEN_LEX_GE;
+ return tok;
+ }
+ tok->type = ISL_TOKEN_LEX_GT;
+ } else
+ tok->type = ISL_TOKEN_GT;
if (c != -1)
isl_stream_ungetc(s, c);
- tok->type = ISL_TOKEN_GT;
return tok;
}
if (c == '<') {
if ((c = isl_stream_getc(s)) == '=') {
tok->type = ISL_TOKEN_LE;
return tok;
- }
+ } else if (c == '<') {
+ if ((c = isl_stream_getc(s)) == '=') {
+ tok->type = ISL_TOKEN_LEX_LE;
+ return tok;
+ }
+ tok->type = ISL_TOKEN_LEX_LT;
+ } else
+ tok->type = ISL_TOKEN_LT;
if (c != -1)
isl_stream_ungetc(s, c);
- tok->type = ISL_TOKEN_LT;
return tok;
}
if (c == '&') {