Added a "fmt_id" define, to prevent that no '_' is placed in front
authorceriel <none@none>
Fri, 10 Oct 1986 15:05:10 +0000 (15:05 +0000)
committerceriel <none@none>
Fri, 10 Oct 1986 15:05:10 +0000 (15:05 +0000)
of an identifier longer than 8 characters.

mach/m68k2/cg/mach.h

index 92a5621..671e1a5 100644 (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       '_'