Add ignorewarn pragma to pawn compiler

This commit is contained in:
ArKaNeMaN 2024-08-24 16:03:47 +03:00
parent 27f451a868
commit ca65b50921

View File

@ -1158,6 +1158,12 @@ static int command(void)
preproc_expr(&val,NULL);
if (val>0)
sc_tabsize=(int)val;
} else if (strcmp(str, "ignorewarn") == 0) {
cell val;
preproc_expr(&val, NULL);
pc_enablewarning(val, 0);
} else if (strcmp(str,"align")==0) {
sc_alignnext=TRUE;
} else if (strcmp(str,"unused")==0) {