| 1 | 
mmeineke | 
10 | 
#ifndef __MODEL_PARSE_H__ | 
| 2 | 
  | 
  | 
#define __MODEL_PARSE_H__ | 
| 3 | 
  | 
  | 
 | 
| 4 | 
  | 
  | 
#include "BASS.tab.h" | 
| 5 | 
  | 
  | 
 | 
| 6 | 
  | 
  | 
// the following are for the defines hash table | 
| 7 | 
  | 
  | 
 | 
| 8 | 
  | 
  | 
extern void insert_define( char* defined, char* definition ); | 
| 9 | 
  | 
  | 
extern char* get_definition( char* defined ); | 
| 10 | 
  | 
  | 
#define DEFINED_BUFFER_SIZE 500 | 
| 11 | 
  | 
  | 
extern int is_defined( char* text ); | 
| 12 | 
  | 
  | 
 | 
| 13 | 
  | 
  | 
// checks to see if matched word is a reserved word. | 
| 14 | 
  | 
  | 
extern int res_word( char* text );  | 
| 15 | 
  | 
  | 
 | 
| 16 | 
  | 
  | 
// removes the reserved word list from memory | 
| 17 | 
  | 
  | 
extern void kill_lists( void ); | 
| 18 | 
  | 
  | 
 | 
| 19 | 
  | 
  | 
#endif |