vbscript: Added lexer support for remaining equality expressions.

This commit is contained in:
Jacek Caban 2011-09-12 12:28:55 +02:00 committed by Alexandre Julliard
parent 84f549b683
commit e5eaf4d222
1 changed files with 16 additions and 0 deletions

View File

@ -299,6 +299,22 @@ static int parse_next_token(void *lval, parser_ctx_t *ctx)
return '(';
case '"':
return parse_string_literal(ctx, lval);
case '<':
switch(*++ctx->ptr) {
case '>':
ctx->ptr++;
return tNEQ;
case '=':
ctx->ptr++;
return tLTEQ;
}
return '<';
case '>':
if(*++ctx->ptr == '=') {
ctx->ptr++;
return tGTEQ;
}
return '>';
default:
FIXME("Unhandled char %c in %s\n", *ctx->ptr, debugstr_w(ctx->ptr));
}