mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Emit a parser warning when encountering an unknown tag.
This commit is contained in:
@@ -5578,6 +5578,8 @@ bool parse_file(Parser *p, AstFile *f) {
|
|||||||
} else {
|
} else {
|
||||||
f->flags |= AstFile_IsLazy;
|
f->flags |= AstFile_IsLazy;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
warning(tok, "Ignoring unknown tag '%.*s'", LIT(lc));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user