| 
 | 
 | |||||||||||||
#include "mit-copyright.h"#include "new_string.h"Go to the source code of this file.
| 
 | 
| 
 Definition at line 23 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 58 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 72 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 30 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 70 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 56 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 63 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 64 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 65 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 79 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 37 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 77 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 76 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 25 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 67 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 59 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 73 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 53 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 39 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 35 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 75 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 69 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 60 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 38 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 41 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 43 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 45 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 78 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 26 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 51 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 20 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 | 
| 
 | 
| 
 Definition at line 24 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 61 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 47 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 22 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 55 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 33 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 62 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 42 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 44 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 27 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 28 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 46 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 52 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 16 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 32 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 36 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 18 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 17 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 34 of file node.h. Referenced by eval_expr(), and yyparse(). | 
| 
 | 
| 
 Definition at line 71 of file node.h. Referenced by yyparse(). | 
| 
 | 
| 
 | 
| 
 Referenced by yyparse(). | 
| 
 | 
| 
 Referenced by yyparse(). | 
| 
 | 
| 
 Referenced by yyparse(). | 
| 
 | 
| 
 Referenced by yyparse(). | 
| 
 | 
| 
 Definition at line 95 of file node.c. References NODE_BATCH_SIZE. Referenced by parse_buffer(), and parse_file(). 00096 {
00097         struct _bunch_of_nodes *next_bunch;
00098         int i, last_node_used_in_this_bunch;
00099 
00100         while (nodes) {
00101                 next_bunch = nodes->next_bunch;
00102                 last_node_used_in_this_bunch = next_bunch ?
00103                         NODE_BATCH_SIZE - 1 : last_node_in_current_bunch_used;
00104                 for (i = 0; i <= last_node_used_in_this_bunch; i++) {
00105                         if (nodes->nodes[i].opcode == STRING_CONSTANT_OPCODE)
00106                                 free(nodes->nodes[i].d.string_constant);
00107                         else if (nodes->nodes[i].opcode == VARREF_OPCODE)
00108                                 free(nodes->nodes[i].d.string_constant);
00109                         else if (nodes->nodes[i].opcode == VARNAME_OPCODE)
00110                                 free(nodes->nodes[i].d.string_constant);
00111                 }
00112                 free(nodes);
00113                 nodes = next_bunch;
00114         }
00115 
00116         current_bunch = nodes;
00117 }
 | 
| 
 | 
| 
 Referenced by yyparse(). | 
| Last updated at Tue Dec 18 21:07:42 PST 2007. | This site and project hosted by... | 
