Make ftepps __NULL__ translate to gmqccs untyped nil keyword (this isn't correct...
authorDale Weiler <killfieldengine@gmail.com>
Wed, 24 Apr 2013 04:17:17 +0000 (04:17 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 24 Apr 2013 04:17:17 +0000 (04:17 +0000)
ftepp.c
misc/check-doc.sh [changed mode: 0644->0755]

diff --git a/ftepp.c b/ftepp.c
index b07899a327e936ba45771ccb46c9f01b3940cc0b..7d5ba3e7b0e05dc867a9cd448098909ca07c0c70 100755 (executable)
--- a/ftepp.c
+++ b/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;
 }
 
old mode 100644 (file)
new mode 100755 (executable)