1 |
gezelter |
2 |
#ifndef __PARSE_TREE_H__ |
2 |
|
|
#define __PARSE_TREE_H__ |
3 |
|
|
|
4 |
|
|
#include "node_list.h" |
5 |
|
|
#include "parse_interface.h" |
6 |
|
|
|
7 |
|
|
/* |
8 |
|
|
This is the function that takes the statement node tree and gives |
9 |
|
|
it to the interface to our program. |
10 |
|
|
*/ |
11 |
|
|
|
12 |
|
|
extern void pt_me( struct node_tag* head_node ); |
13 |
|
|
|
14 |
|
|
/* use the following to kill the node tree when done. */ |
15 |
|
|
|
16 |
|
|
extern void kill_tree( struct node_tag* the_node ); |
17 |
|
|
|
18 |
|
|
// function to print out a node causing errors |
19 |
|
|
|
20 |
|
|
extern void print_tree_error( struct node_tag* err_node, char* err_msg ); |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
#endif |