mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
vbscript: Added lexer support for remaining equality expressions.
This commit is contained in:
parent
84f549b683
commit
e5eaf4d222
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user