gnupic@linuxhacker.org
gnupic@linuxhacker.org
The preprocessor is integrated with the lexer/parser. In most cases it
is a simple text substitution, but not always.
I believe mpasm won't like it either. It will generate an illegal label
error on the #include. If I am incorrect, please submit a bug report to
sourceforge.
Thanks.
Yann Gouy wrote:
>
> Hi,
>
> I have splitted a package in 2 parts: one with the variables
> ("package.var.inc") and the second with macros ("package.macro.inc").
>
> here is an extract of what I want to do:
>
> >>>>>>>>>>>
>
> CBLOCK 0x20
>
> TIME:2
>
> include "package.var.inc"
>
> ENDC
>
> include "package.macro.inc
>
> <<<<<<<<<<<
>
> on the first include, I got a parse error using gpasm 0.11.0 or 0.10.6
> I believed that the include processing was just like in C ("basic string
> replacement").
>
> if someone could help me, please do it!
>
> Yann
>
> ___________________________________________________________
>
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
>
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gnupic-unsubscribe@linuxhacker.org
> For additional commands, e-mail: gnupic-help@linuxhacker.org
gnupic@linuxhacker.org