summaryrefslogtreecommitdiff
path: root/bcc/parse.h
blob: 429ca2aa52ab9439b6d114ff4ab164c4d99ec387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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 */
#ifndef VERY_SMALL_MEMORY
EXTERN bool_t ancient;		/* undersand ancient K&R */
#endif