From: ceriel Date: Fri, 10 Oct 1986 15:05:10 +0000 (+0000) Subject: Added a "fmt_id" define, to prevent that no '_' is placed in front X-Git-Tag: release-5-5~5205 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a43d2577153e438cd37d4c8f0d715d6fdbae63f5;p=ack.git Added a "fmt_id" define, to prevent that no '_' is placed in front of an identifier longer than 8 characters. --- diff --git a/mach/m68k2/cg/mach.h b/mach/m68k2/cg/mach.h index 92a56218e..671e1a58a 100644 --- a/mach/m68k2/cg/mach.h +++ b/mach/m68k2/cg/mach.h @@ -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 '_'