Commit 3a578022 authored by Robert Wilhelm's avatar Robert Wilhelm Committed by Alexandre Julliard

vbscript: Handle another variant of LTE/GTE tokens.

parent 63b6ec5a
...@@ -422,7 +422,6 @@ static int parse_next_token(void *lval, unsigned *loc, parser_ctx_t *ctx) ...@@ -422,7 +422,6 @@ static int parse_next_token(void *lval, unsigned *loc, parser_ctx_t *ctx)
case ':': case ':':
case ')': case ')':
case ',': case ',':
case '=':
case '+': case '+':
case '*': case '*':
case '/': case '/':
...@@ -477,6 +476,16 @@ static int parse_next_token(void *lval, unsigned *loc, parser_ctx_t *ctx) ...@@ -477,6 +476,16 @@ static int parse_next_token(void *lval, unsigned *loc, parser_ctx_t *ctx)
if(*++ctx->ptr == 'h' || *ctx->ptr == 'H') if(*++ctx->ptr == 'h' || *ctx->ptr == 'H')
return parse_hex_literal(ctx, lval); return parse_hex_literal(ctx, lval);
return '&'; return '&';
case '=':
switch(*++ctx->ptr) {
case '<':
ctx->ptr++;
return tLTEQ;
case '>':
ctx->ptr++;
return tGTEQ;
}
return '=';
case '<': case '<':
switch(*++ctx->ptr) { switch(*++ctx->ptr) {
case '>': case '>':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment