05-28-2010, 07:41 AM
Putting # at the very first of the line is *always* a preprocessor directive. In fact, the standard way of tabulate preprocessor directives is:
Notice the tab goes *after* the #. Putting a # at the beginning of a line which does not start at column 0 will raise an error.
I tell you this, because this might simplify the syntax parsing for preprocessor directives.
Code:
#ifdef ZXSPECTRUM
# include once "spectrum-lib.bas"
#endif
I tell you this, because this might simplify the syntax parsing for preprocessor directives.