xref: /csrg-svn/usr.bin/pascal/pdx/symtab.h (revision 62131)
148104Sbostic /*-
2*62131Sbostic  * Copyright (c) 1980, 1993
3*62131Sbostic  *	The Regents of the University of California.  All rights reserved.
422579Sdist  *
548104Sbostic  * %sccs.include.redist.c%
648104Sbostic  *
7*62131Sbostic  *	@(#)symtab.h	8.1 (Berkeley) 06/06/93
822579Sdist  */
95459Slinton 
105459Slinton /*
115459Slinton  * Public definitions for symbol table.
125459Slinton  */
135459Slinton 
145459Slinton SYMTAB *symtab;
155459Slinton 
165459Slinton SYMTAB *st_creat();		/* create a symbol table */
1733243Sbostic int st_destroy();		/* destroy a symbol table, i.e. free storage */
185459Slinton SYM *st_insert();		/* insert a symbol */
195459Slinton SYM *st_lookup();		/* lookup a symbol */
2033243Sbostic int dumpvars();			/* dump the symbols of a function */
2133243Sbostic int print_alias();		/* print out currently active aliases */
2233243Sbostic int enter_alias();		/* create a new name for a command */
235459Slinton SYM *findtype();		/* search symbol table for a type name */
24