mirror of
https://github.com/cc65/cc65.git
synced 2025-08-10 04:25:21 +00:00
Ignore unknown preprocessor directives in an #if group that is excluded.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4534 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1361,13 +1361,17 @@ void Preprocess (void)
|
||||
DoWarning ();
|
||||
}
|
||||
} else {
|
||||
PPError ("Preprocessor directive expected");
|
||||
if (!Skip) {
|
||||
PPError ("Preprocessor directive expected");
|
||||
}
|
||||
ClearLine ();
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
PPError ("Preprocessor directive expected");
|
||||
default:
|
||||
if (!Skip) {
|
||||
PPError ("Preprocessor directive expected");
|
||||
}
|
||||
ClearLine ();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user