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:
uz
2009-12-30 11:20:09 +00:00
parent 63c53b8021
commit 41f7757204

View File

@@ -1361,13 +1361,17 @@ void Preprocess (void)
DoWarning (); DoWarning ();
} }
} else { } else {
if (!Skip) {
PPError ("Preprocessor directive expected"); PPError ("Preprocessor directive expected");
}
ClearLine (); ClearLine ();
} }
break; break;
default: default:
if (!Skip) {
PPError ("Preprocessor directive expected"); PPError ("Preprocessor directive expected");
}
ClearLine (); ClearLine ();
} }
} }