va_start (ap, szFormat);
- tvsprintf (buffer, szFormat, ap);
+ tvsprintf (buffer, sizeof(buffer), szFormat, ap);
_tidyUp (buffer);
{
// Currently a holder function. The Z80 needs some special mangling
// for bank support.
- printLine (_G.lines.head, codeOutFile);
+ printLine (_G.lines.head, codeOutBuf);
}
void
static bool
_tryEmittingiCode (hTab * h, iCode * ic)
{
- EMITTER key =
- {ic->op, NULL};
+ EMITTER key; // = {ic->op, NULL}; Borland C chokes on this; initialize below
EMITTER *found;
+ key.op = ic->op;
+ key.emit = NULL;
+
found = hTabFindByKey (h, ic->op, &key, _emitterCompare);
if (found)