Fixed skipped lines consist of a leading # followed by any non-directive PP-token sequence.
This commit is contained in:
@@ -1296,7 +1296,9 @@ void Preprocess (void)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!IsSym (Directive)) {
|
if (!IsSym (Directive)) {
|
||||||
PPError ("Preprocessor directive expected");
|
if (!Skip) {
|
||||||
|
PPError ("Preprocessor directive expected");
|
||||||
|
}
|
||||||
ClearLine ();
|
ClearLine ();
|
||||||
} else {
|
} else {
|
||||||
switch (FindPPToken (Directive)) {
|
switch (FindPPToken (Directive)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user