diff options
Diffstat (limited to 'bcc/parse.h')
-rw-r--r-- | bcc/parse.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bcc/parse.h b/bcc/parse.h new file mode 100644 index 0000000..ab67f6c --- /dev/null +++ b/bcc/parse.h @@ -0,0 +1,19 @@ +/* parse.h - parser for bcc */ + +/* Copyright (C) 1992 Bruce Evans */ + +/* possible scope levels */ + +#define ARGLEVEL 1 +#define GLBLEVEL 0 +#define MAXLEVEL 125 +#define MINLOCLEVEL 1 + +/* possible node flags */ + +#define LVALUE (1 << 0) + +EXTERN struct nodestruct *etptr; /* ptr to next entry in expression tree */ +EXTERN struct symstruct *gvarsymptr; /* gsymptr for last identifier declared */ +EXTERN scopelev_t level; /* scope level */ + /* depends on zero init */ |