mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Add ignorewarn
pragma to pawn compiler
This commit is contained in:
parent
27f451a868
commit
ca65b50921
@ -1158,6 +1158,12 @@ static int command(void)
|
|||||||
preproc_expr(&val,NULL);
|
preproc_expr(&val,NULL);
|
||||||
if (val>0)
|
if (val>0)
|
||||||
sc_tabsize=(int)val;
|
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) {
|
} else if (strcmp(str,"align")==0) {
|
||||||
sc_alignnext=TRUE;
|
sc_alignnext=TRUE;
|
||||||
} else if (strcmp(str,"unused")==0) {
|
} else if (strcmp(str,"unused")==0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user