#include "SDCCpeeph.h"
#include "gen.h"
-#define NOTUSEDERROR {fprintf (stderr, "SDCC internal error in notUsed() in %s, line %d\n", __FILE__, __LINE__);}
+#define NOTUSEDERROR() do {werror(E_INTERNAL_ERROR, __FILE__, __LINE__, "error in notUsed()");} while(0)
/*#define D(_s) { printf _s; fflush(stdout); }*/
#define D(_s)
// Find size of return value.
specifier *spec;
if(sym->type->select.d.dcl_type != FUNCTION)
- NOTUSEDERROR
+ NOTUSEDERROR();
spec = &(sym->etype->select.s);
if(spec->noun == V_VOID)
size = 0;
}
else
{
- NOTUSEDERROR
+ NOTUSEDERROR();
size = 4;
}
/* sanity check */
if (p == pl->line)
{
- NOTUSEDERROR
+ NOTUSEDERROR();
return NULL;
}