gnupic: gpasm chokes on #IF
Subject:
gpasm chokes on #IF
From:
David Willmore ####@####.####
Date:
16 Apr 2004 00:16:30 +0100
Message-Id: <200404152316.i3FNGPrl030198@localhost.localdomain>
From looking at the manual, it's sort of unclear if there is
a preprocessor invoked by default when using gpasm to assemble
code. It does mention that #something will be handled by the
prepreocessor (whitness #define), but #IF seems not to work.
If I remove the #, then the IF .... ENDIF clauses work just
fine.
Is this just anohter of those MPASM will accept *anything* kind
of situations?
This is only an issue to me as it's someone elses code and every
time he sends it to me I have to take out all of the #'s. I
don't use MPLAB or any of the Windows programs, so I don't know
if it's safe to recommend to the author to just take the #'s
out. Is that functional over there in Windows land?
Cheers,
David