The actual way the macro bug should have been fixed.

This commit is contained in:
stag019
2014-11-04 18:09:22 -05:00
parent 80e2129f22
commit a64d725a8d

View File

@@ -284,7 +284,7 @@ fstk_RunMacro(char *s)
pCurrentMacro = sym;
CurrentFlexHandle =
yy_scan_bytes(pCurrentMacro->pMacro,
(pCurrentMacro->ulMacroSize < MAXSYMLEN ? MAXSYMLEN : pCurrentMacro->ulMacroSize)); //Dirty hack to fix small macros using long label names.
strlen(pCurrentMacro->pMacro));
yy_switch_to_buffer(CurrentFlexHandle);
return (1);
} else