current_token.symflags = sflags[symbol];
switch(stypes[symbol])
{ case ROUTINE_T:
+ /* Replaced functions must always be backpatched
+ because there could be another definition coming. */
+ if (sflags[symbol] & REPLACE_SFLAG)
+ { current_token.marker = SYMBOL_MV;
+ if (module_switch) import_symbol(symbol);
+ v = symbol;
+ break;
+ }
current_token.marker = IROUTINE_MV;
break;
case GLOBAL_VARIABLE_T:
if ((a.type == ENDEXP_TT) && (b.type == ENDEXP_TT))
{ if (emitter_sp == 0)
- { compiler_error("SR error: emitter stack empty");
+ { error("No expression between brackets '(' and ')'");
+ put_token_back();
return AO;
}
if (emitter_sp > 1)