1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Fixed skipped lines consist of a leading # followed by any non-directive PP-token sequence.

This commit is contained in:
acqn 2022-07-26 14:28:27 +08:00
parent be26b0631b
commit 8289c94e69

View File

@ -1296,7 +1296,9 @@ void Preprocess (void)
continue;
}
if (!IsSym (Directive)) {
PPError ("Preprocessor directive expected");
if (!Skip) {
PPError ("Preprocessor directive expected");
}
ClearLine ();
} else {
switch (FindPPToken (Directive)) {