Emit a parser warning when encountering an unknown tag.
This commit is contained in:
1 parent
62ff8daa78
commit
cb04116caf
1 file changed
+2
@@ -5578,6 +5578,8 @@ bool parse_file(Parser *p, AstFile *f) {
|
||||
} else {
|
||||
f->flags |= AstFile_IsLazy;
|
||||
}
|
||||
} else {
|
||||
warning(tok, "Ignoring unknown tag '%.*s'", LIT(lc));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user