You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat foo.asm
; this is a comment with an embedded apostrophe (')
; this is a comment with two embedded apostrophes ('')
; this is a comment with an embedded quote (")
; this is a comment with two embedded quotes ("")
$ ../assembler/asm foo.asm
foo.asm:1:50: warning: missing terminating ' character
; this is a comment with an embedded apostrophe (')
^
foo.asm:3:45: warning: missing terminating " character
; this is a comment with an embedded quote (")
^
qasm2rom: 0 ROM lines written.
The text was updated successfully, but these errors were encountered:
@charlesUnixPro Thank you Charles. This is a known issue. We worked around in past by instead of writing
; this is the register's value
we wrote
; this is the value of the register
Admitably not great 😈
I assigned this one to Bernd - maybe he comes up with some ideas of how to fix that in V1.7; but it also might be that this one stays until we implement issue #20 "Make native assembler independent from external preprocessor"
Mirko is right, this error is caused by my sloppy way of using the C-preprocessor for the assembler, and the C-preprocessor does not understand our ";" comment delimiter.
This problem will be solved when we have our own (simple) preprocessor for the assembler that does not rely on the C-preprocessor, so I fear it won't be fixed prior to 1.7.
The text was updated successfully, but these errors were encountered: