Added a "fmt_id" define, to prevent that no '_' is placed in front

of an identifier longer than 8 characters.
This commit is contained in:
ceriel 1986-10-10 15:05:10 +00:00
parent 2672c87f68
commit a43d257715

View file

@ -21,6 +21,8 @@
#define con_ilb(x) fprintf(codefile,".data4\t%s\n",x)
#define con_dlb(x) fprintf(codefile,".data4\t%s\n",x)
#define fmt_id(fr,to) sprintf(to, "_%s", fr)
#define modhead ".sect .text;.sect .rom;.sect .data;.sect .bss\n"
#define id_first '_'