/* declarations.h */
#ifndef DECLARATIONS_H
#define DECLARATIONS_H

/*
	Declare a static variable (i.e. define for use).
	Makes an entry in the symbol table so subsequent
	references can call symbol by name.
*/
/** globals (statics) are found outside a function block **/
/** this fn is called when a TYPE `int or `char is found **/
void declstatic(int typ);						/* typ is cchar or cint */

/* Declare auto variables (i.e. define for use). */
/* Works just like "declstatic" but modifies machine stack */
/* and adds symbol table entry with appropriate stack offset to find it again */
/** called when symbol is an automatic **/
void declauto(int typ);							/* typ is cchar or cint */

#endif /* DECLARATIONS_H */