Ticket #106 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

multiple expression too complex in TIMES.

Reported by: Dron Assigned to: peter@tortall.net
Priority: P1 Milestone:
Component: Preprocessor: NASM-compatible Version: 0.6.0
Severity: normal Keywords: TIMES
Cc:

Description

struc bug
TIMES (64 - $)	resb	1
endstruc

$ yasm -felf -Wno-unrecognized-char -Worphan-labels bug.asm -o bug.o bug.asm:2: multiple expression too complex

in version 0.5.0 this work ok! Thanks for help.

Attachments

Change History

04/22/07 01:19:02 changed by peter@tortall.net

  • owner set to peter@tortall.net.
  • status changed from new to assigned.

I'll look into fixing this. In the meantime you can use the following backwards-compatible workaround (it also works on NASM):

struc workaround
TIMES (64 - ($-$$)) resb 1
endstruc

05/15/07 00:27:27 changed by peter

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [1842]) Move absolute section handling into NASM parser, removing all traces of it from libyasm core. Now absolute sections are tracked locally to the parser and the parser generates EQUs directly for labels in absolute sections.

Fixes #106 and #103.


Add/Change #106 (multiple expression too complex in TIMES.)