mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 19:01:29 +00:00
Make ftepps __NULL__ translate to gmqccs untyped nil keyword (this isn't correct behaviour of the __NULL__ constant, but it works)
This commit is contained in:
parent
dc8523c650
commit
35988b6191
2 changed files with 6 additions and 0 deletions
6
ftepp.c
6
ftepp.c
|
@ -1828,6 +1828,12 @@ ftepp_t *ftepp_create()
|
|||
ftepp_add_macro(ftepp, "__STD_VERSION_MINOR__", minor);
|
||||
ftepp_add_macro(ftepp, "__STD_VERSION_MAJOR__", major);
|
||||
|
||||
/*
|
||||
* We're going to just make __NULL__ nil, which works for 60% of the
|
||||
* cases of __NULL_ for fteqcc.
|
||||
*/
|
||||
ftepp_add_macro(ftepp, "__NULL__", "nil");
|
||||
|
||||
return ftepp;
|
||||
}
|
||||
|
||||
|
|
0
misc/check-doc.sh
Normal file → Executable file
0
misc/check-doc.sh
Normal file → Executable file
Loading…
Reference in a new issue