Mercurial > hg > CbC > old > device
comparison mc-parse.h @ 346:969089695850
name reconfigure.... continue...
author | kono |
---|---|
date | Tue, 29 Jun 2004 23:11:47 +0900 |
parents | 4c8f8ef8c0cf |
children | cef4d8eb9a26 |
comparison
equal
deleted
inserted
replaced
345:2b3946ee4fc9 | 346:969089695850 |
---|---|
16 extern int struct_return; | 16 extern int struct_return; |
17 extern int lastexp; | 17 extern int lastexp; |
18 extern int debug; | 18 extern int debug; |
19 extern int decl_str_init; | 19 extern int decl_str_init; |
20 | 20 |
21 typedef struct hash | |
22 { | |
23 char *nm; | |
24 int len; | |
25 NMTBL *nptr; | |
26 } HASH; | |
27 | |
28 /* | |
29 STRING nptr | |
30 MACRO nptr | |
31 FMACRO nptr | |
32 RESERVE nptr | |
33 TAG nptr | |
34 FIELD nptr | |
35 TYPE nptr | |
36 */ | |
37 | |
38 typedef struct cheap | |
39 { | |
40 char *ptr; | |
41 char *last; | |
42 char *first; | |
43 struct cheap *next; | |
44 } CHEAP; | |
45 | |
21 | 46 |
22 /* used in mc-macro.c */ | 47 /* used in mc-macro.c */ |
23 | 48 |
24 extern int asmf; | 49 extern int asmf; |
25 extern int ch; | 50 extern int ch; |
26 extern char cheap[CHEAPSIZE]; // should be extendable | |
27 extern char *cheapp; | |
28 extern int chptrsave; | 51 extern int chptrsave; |
29 extern int chsave; | 52 extern int chsave; |
30 extern char linebuf[LBUFSIZE],namebuf[LBUFSIZE],*chptr; | 53 extern char linebuf[LBUFSIZE],*chptr; |
31 extern int glineno; | 54 extern int glineno; |
32 extern int in_comment; | 55 extern int in_comment; |
33 extern int in_quote; | 56 extern int in_quote; |
34 extern int lfree; | 57 extern int lfree; |
35 extern int lineno; | 58 extern int lineno; |
38 | 61 |
39 /* used in mc-code-* */ | 62 /* used in mc-code-* */ |
40 | 63 |
41 extern NMTBL null_nptr; | 64 extern NMTBL null_nptr; |
42 extern NMTBL ntable[GSYMS+LSYMS]; | 65 extern NMTBL ntable[GSYMS+LSYMS]; |
66 | |
67 extern char * make_filename_with_extension(char *filename,char *ext); | |
43 | 68 |
44 /* used in mc-switch */ | 69 /* used in mc-switch */ |
45 | 70 |
46 extern void free_glist3(int e1); | 71 extern void free_glist3(int e1); |
47 extern int csvalue1; | 72 extern int csvalue1; |
84 extern int size(int t); | 109 extern int size(int t); |
85 extern int typespec(void); | 110 extern int typespec(void); |
86 | 111 |
87 /* used in mc-macro.c */ | 112 /* used in mc-macro.c */ |
88 | 113 |
114 extern struct cheap *cheap; | |
115 | |
89 extern int getsym(int sc); | 116 extern int getsym(int sc); |
90 extern int getch(void); | 117 extern int getch(void); |
91 extern int skipspc(void); | 118 extern int skipspc(void); |
92 extern void copy_current_file_dir(char *name); | 119 extern void copy_current_file_dir(char *name); |
93 extern int expr(int noconv); | 120 extern int expr(int noconv); |
94 | 121 |
95 extern NMTBL *msearch0(char *name); | 122 extern NMTBL *msearch0(char *name); |
96 extern int alpha(int c); | 123 extern int alpha(int c); |
97 extern int digit(int c); | 124 extern int digit(int c); |
98 | 125 |
126 extern struct cheap * increment_cheap(struct cheap *cheap,char **save); | |
127 extern void save_cheap(struct cheap *scheap,struct cheap *cheap); | |
128 extern struct cheap * reset_cheap(struct cheap *scheap); | |
129 | |
99 /* end */ | 130 /* end */ |