mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
Revert "parser: fix invalid segment override on EQU FAR pointers"
This reverts commit 35ffac3ea0.
This commit caused a regression, causing segment overrides to get
lost. Multiple travis tests failed as a result.
Revert this until a proper solution exists.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
6d8ea837c6
commit
d832776ccb
1 changed files with 1 additions and 11 deletions
12
asm/parser.c
12
asm/parser.c
|
|
@ -1108,17 +1108,7 @@ restart_parse:
|
|||
*/
|
||||
} else if (mref || !far_jmp_ok) {
|
||||
/* segment override? */
|
||||
if (!mref && (!ok_reg || !IS_SREG(value->type))) {
|
||||
i = stdscan(NULL, &tokval);
|
||||
goto mref_more;
|
||||
} else {
|
||||
mref = true;
|
||||
if (!ok_reg || !IS_SREG(value->type)) {
|
||||
nasm_nonfatal("invalid segment override");
|
||||
}
|
||||
i = stdscan(NULL, &tokval);
|
||||
goto mref_more;
|
||||
}
|
||||
mref = true;
|
||||
|
||||
/*
|
||||
* Process the segment override.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue