Skip to content
Snippets Groups Projects
Commit 74ec9f6f authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Ignore #pragma

parent 083c2755
Branches
No related merge requests found
......@@ -878,6 +878,13 @@ static Token *preprocess2(Token *tok) {
continue;
}
if (equal(tok, "pragma")) {
do {
tok = tok->next;
} while (!tok->at_bol);
continue;
}
if (equal(tok, "error"))
error_tok(tok, "error");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment