[Nasm-bugs] [Bug 3392723] New: Wrong error line showed
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Tue Nov 17 08:14:50 PST 2020
https://bugzilla.nasm.us/show_bug.cgi?id=3392723
Bug ID: 3392723
Summary: Wrong error line showed
Product: NASM
Version: 2.15.xx
Hardware: All
OS: All
Status: OPEN
Severity: annoyance
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: nosequiensoy8664 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: Other (please explain)
Created attachment 411804
--> https://bugzilla.nasm.us/attachment.cgi?id=411804&action=edit
How to reproduce and actual output
-- Obtained from: AUR
When having an error in a file that is included, and you assemble the main
file, you get the wrong line number. Example:
file1.asm
```
mov ax, 1
mov bx, 2
mov cx, 3
mov dx, 4
%include "file2.asm"
```
file2.asm
```
mov ax. 1
```
Expected output: file2.asm:1: error: comma, colon, decorator or end of line
expected after operand
Actual output: file2.asm:7: error: comma, colon, decorator or end of line
expected after operand
--
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