summaryrefslogtreecommitdiff
path: root/bcc/parse.h
blob: ab67f6cc006998c317d06492cb6d111044f2397b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 */