[Nasm-bugs] [Bug 3392618] New: Operator '>=' throws an expression error

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Oct 7 02:07:46 PDT 2019


https://bugzilla.nasm.us/show_bug.cgi?id=3392618

            Bug ID: 3392618
           Summary: Operator '>=' throws an expression error
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: critical
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: andrey.matyukov at gmail.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

NASM version 2.15rc0-20191005 is affected by the bug in parsing of '>='
comparison operator (see the test example below).
Other operators (>,<,==, etc) work fine.

> test.nasm
%assign i 15
%if (i >= 10)
  %warning greater
%else
  %warning lesser
%endif

> nasm test.nasm
test.nasm:2: error: expression syntax error

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list