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

Go to the documentation of this file.
00001 # define NOTYPEDEFS
00002 
00003 # include "../parm.h"
00004 
00005 /*
00006  * stplinks declaration macros for use with streedefs.h.
00007  *  Stplinks is an array of bit vectors defining the
00008  *  'primary links' in the syntax tree.  These are
00009  *  the links that need to tbe followed to traverse
00010  *  each part of the tree exactly once.
00011  */
00012 
00013 # define TOP unsigned stplinks[] = {
00014 
00015 # define START(x,y) 0 \
00016 #       set SHIFT WORDLENGTH \
00017 #       decr SHIFT
00018 
00019 # define DECSHIFT \
00020 #   decr SHIFT
00021 
00022 # define INT(fld) DECSHIFT
00023 # define UNSIGNED(fld) DECSHIFT
00024 # define NODESTAR(fld) +(1<<SHIFT) DECSHIFT
00025 # define SIG(fld) NODESTAR(fld)
00026 # define HNODESTAR(fld) NODESTAR(fld)
00027 # define HSIG(fld) HNODESTAR(fld)
00028 # define CNSTAR(fld) DECSHIFT 
00029 # define REFCNT(fld) DECSHIFT
00030 # define NODEKIND(fld) DECSHIFT
00031 # define VLINENO(fld) DECSHIFT
00032 # define STTINDX(fld) DECSHIFT
00033 # define LISTPTR(fld) NODESTAR(fld)
00034 # define HLISTPTR(fld) NODESTAR(fld)
00035 # define LBACKREF(fld) DECSHIFT
00036 # define BACKREF(fld) DECSHIFT
00037 # define BITVECTOR(fld) DECSHIFT
00038 # define STRPTR(fld) DECSHIFT
00039 # define HSTRPTR(fld) DECSHIFT
00040 # define NBPTR(fld) DECSHIFT
00041 
00042 # define FINISH ,
00043 
00044 # define BOTTOM };
00045 
00046 # include "streedefs.h"

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