C:/Users/Dennis/src/lang/russell.orig/src/stree/stformats.m

Go to the documentation of this file.
00001 /*
00002  * Print format table generation macros
00003  *
00004  * The codes are:
00005  *         code   print as
00006  *              a               address
00007  *              c               character string
00008  *              i               integer
00009  *              l               virtual line number
00010  *              p               pointer (follow it down)
00011  *              s               string table offset
00012  *              u               unsigned integer
00013  *              v               bit vector
00014  *              x               don't print
00015  */
00016 
00017 # define SIGDEBUG SIGDEBUG
00018 # undef SIGDEBUG
00019 
00020 # define TOP \
00021     char *typedescr[] = {
00022 
00023 # define START(x,name) \
00024     "name","
00025 
00026 # define INT(x) i
00027 # define UNSIGNED(x) u
00028 # define NODESTAR(x) p
00029 # ifdef SIGDEBUG
00030 #         define HNODESTAR(x) p
00031 #         define SIG(x) p
00032 #         define HSIG(x) p
00033 # else
00034 #         define HNODESTAR(a) x
00035 #         define SIG(a) x
00036 #         define HSIG(a) x
00037 # endif
00038 # define REFCNT(a) x
00039 # define NODEKIND(a) x
00040 # define VLINENO(x) l
00041 # define CNSTAR(a) x
00042 # define STTINDX(x) s
00043 # define LISTPTR(a) p
00044 # define HLISTPTR(a) p
00045 # define LBACKREF(a) x
00046 # define BACKREF(x) a
00047 # define STRPTR(a) c
00048 # define HSTRPTR(a) c
00049 # define BITVECTOR(a) v
00050 # define NBPTR(n) a
00051 
00052 # define FINISH ",
00053 
00054 # define BOTTOM };

Generated on Fri Jan 25 10:39:48 2008 for russell by  doxygen 1.5.4