Skip to content

parser: fix invalid segment override on EQU FAR pointers#243

Open
alexvoste wants to merge 1 commit into
netwide-assembler:masterfrom
alexvoste:fix-far-pointer-equ
Open

parser: fix invalid segment override on EQU FAR pointers#243
alexvoste wants to merge 1 commit into
netwide-assembler:masterfrom
alexvoste:fix-far-pointer-equ

Conversation

@alexvoste
Copy link
Copy Markdown

The parser incorrectly treated colons as memory segment overrides inside EQU directives because of an inverted far_jmp_ok check. This regression was introduced in commit 8981724. Removing the incorrect negation restores proper parsing of FAR pointer constants.

Fixes #242

The parser incorrectly treated colons as memory segment overrides inside
EQU directives because of an inverted far_jmp_ok check. This regression
was introduced in commit 8981724. Removing the incorrect negation restores
proper parsing of FAR pointer constants.
@alexvoste alexvoste force-pushed the fix-far-pointer-equ branch from 539c0a4 to 4094093 Compare May 30, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parsing or FAR pointers broken

1 participant