Skip to content

Commit 80a4e8e

Browse files
committed
preproc: fix misparsing of << as right shift
Regression in commit 20e0d61. Independently discovered and fixed by C. Masloch: https://bugzilla.nasm.us/show_bug.cgi?id=3392747 Signed-off-by: Oleg Oshmyan <chortos@inbox.lv>
1 parent e2ed7b7 commit 80a4e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asm/preproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ static Token *tokenize(const char *line)
16131613
case '<':
16141614
if (*p == '<') {
16151615
p++;
1616-
type = TOKEN_SHR;
1616+
type = TOKEN_SHL;
16171617
if (*p == '<')
16181618
p++;
16191619
} else if (*p == '=') {

0 commit comments

Comments
 (0)