diff mc.h @ 34:0756caa79167

macro function recursive and copy method
author kono
date Mon, 10 Feb 2003 07:38:09 +0900
parents 8500dbb69dd9
children 412ad2e6c2a2
line wrap: on
line diff
--- a/mc.h	Sun Feb 09 23:17:23 2003 +0900
+++ b/mc.h	Mon Feb 10 07:38:09 2003 +0900
@@ -175,6 +175,7 @@
 /* #define CHEAPSIZE	3000 */
 #define CHEAPSIZE	256000
 #define LBUFSIZE	4096
+#define MACROSIZE	16000
 
 #define FILES 10
 #define OUTPUT_FILE_NAME "mcout.s"
@@ -187,7 +188,8 @@
 
 EXTERN unsigned hash;
 
-EXTERN int chptrsave;
+EXTERN int chsave;
+EXTERN char *chptrsave;
 EXTERN char linebuf[LBUFSIZE],namebuf[LBUFSIZE],*chptr;
 EXTERN char *name,*cheapp,**av,/*obuf[320],*/*sptr,escape(void);
 EXTERN int arg_offset,stat_no,size_of_int,disp_offset,endian,csvalue,csvalue1;
@@ -210,6 +212,7 @@
 
 EXTERN struct {int fd,ln;char *name0;FILE *fcb;} *filep,filestack[FILES];
 EXTERN char cheap[CHEAPSIZE];
+EXTERN char *macropp,macro_buf[MACROSIZE];
 
 #define car(e) (heap[(int)(e)])