preproc: fix the detection of the >= operator

There are *four* operators starting with ">": > >> >>> and >=.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2019-10-07 21:29:05 -07:00
parent d983b62233
commit d03a6c8ffe
2 changed files with 4 additions and 2 deletions

View file

@ -1615,7 +1615,9 @@ static Token *tokenize(const char *line)
p++;
if (*p == '>')
p++;
}
} else if (*p == '=') {
p++;
}
break;
case '<':

View file

@ -6,7 +6,7 @@
%exitrep
%endif
mov ebx,i
%ifn i < 3
%if i >= 3
%error iteration i should not be seen
%endif
%assign i i+1