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:
parent
d983b62233
commit
d03a6c8ffe
2 changed files with 4 additions and 2 deletions
|
@ -1615,7 +1615,9 @@ static Token *tokenize(const char *line)
|
|||
p++;
|
||||
if (*p == '>')
|
||||
p++;
|
||||
}
|
||||
} else if (*p == '=') {
|
||||
p++;
|
||||
}
|
||||
break;
|
||||
|
||||
case '<':
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue