-
Notifications
You must be signed in to change notification settings - Fork 0
/
symtab.h
27 lines (19 loc) · 1.14 KB
/
symtab.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**********************************************************************/
/* constants & public functions */
/**********************************************************************/
#ifndef SYMTAB_H
#define SYMTAB_H
/**********************************************************************/
/* PUBLIC METHODS for this OBJECT (EXPORTED) */
/**********************************************************************/
#include "keytoktab.h"
void p_symtab(); /* display the ST */
void addp_name(char * fpname); /* add a program name to the ST */
void addv_name(char * fpname); /* add a variable name to the ST */
toktyp get_ntype(char * fpname); /* get a type from the ST */
int find_name(char * fpname); /* find a name in the ST */
void setv_type (toktyp ftype); /* set variable types in the ST */
#endif
/**********************************************************************/
/* end of definitions */
/**********************************************************************/