shithub: rgbds

Download patch

ref: e4571bc0fc6309534cdd59bcb140d73ddefb2192
parent: 46269240c84a9701804228909b81729f42a73f52
author: YamaArashi <[email protected]>
date: Thu Aug 21 15:53:42 EDT 2014

Make _NARG work

--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -848,6 +848,10 @@
 	sym_AddString("__TIME__", SavedTIME);
 	sym_AddString("__DATE__", SavedDATE);
 	sym_AddSet("_RS", 0);
+
+	sym_AddEqu("_NARG", 0);
+	p_NARGSymbol = findsymbol("_NARG", NULL);
+	p_NARGSymbol->Callback = Callback_NARG;
 }
 /*
  * RGBAsm - SYMBOL.C - Symboltable stuff