[Nasm-bugs] [Bug 3392747] git nasm: bitshift left by 1 (<< 1) in %assign appears to shift right
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Wed Mar 24 13:43:02 PDT 2021
https://bugzilla.nasm.us/show_bug.cgi?id=3392747
--- Comment #5 from C. Masloch <pushbx at ulukai.org> ---
With this patch NASM appears to work. Building lDDebug symbolic results in
exactly the same binary as with NASM version 2.15.03 which I used until now.
nasm$ git diff
diff --git a/asm/preproc.c b/asm/preproc.c
index d1b9b31b..cb1669da 100644
--- a/asm/preproc.c
+++ b/asm/preproc.c
@@ -1613,7 +1613,7 @@ static Token *tokenize(const char *line)
case '<':
if (*p == '<') {
p++;
- type = TOKEN_SHR;
+ type = TOKEN_SHL;
if (*p == '<')
p++;
} else if (*p == '=') {
nasm$
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list