Add @(warning=<string>)

This commit is contained in:
gingerBill
2021-08-02 16:58:50 +01:00
parent b0e64ca7e8
commit ccbdf086ff
4 changed files with 21 additions and 0 deletions

View File

@@ -724,6 +724,7 @@ void check_proc_decl(CheckerContext *ctx, Entity *e, DeclInfo *d) {
e->Procedure.is_export = ac.is_export;
e->deprecated_message = ac.deprecated_message;
e->warning_message = ac.warning_message;
ac.link_name = handle_link_name(ctx, e->token, ac.link_name, ac.link_prefix);
if (ac.has_disabled_proc) {
if (ac.disabled_proc) {