comparison src/parse.h @ 4238:a5a68c0afe56

[project @ 2002-12-25 21:04:33 by jwe]
author jwe
date Wed, 25 Dec 2002 21:04:34 +0000
parents b9317f3973ec
children 813effe14ee1
comparison
equal deleted inserted replaced
4237:9c8034434982 4238:a5a68c0afe56
71 // body. The parser might be called in that case if we are looking at 71 // body. The parser might be called in that case if we are looking at
72 // an eval() statement. 72 // an eval() statement.
73 extern bool evaluating_function_body; 73 extern bool evaluating_function_body;
74 74
75 // Keep track of symbol table information when parsing functions. 75 // Keep track of symbol table information when parsing functions.
76 extern symbol_table *symtab_context; 76 extern std::stack<symbol_table*> symtab_context;
77
78 // Name of parent function when parsing function files that might
79 // contain nested functions.
80 extern std::string parent_function_name;
77 81
78 // TRUE means warn about function files that have time stamps in the future. 82 // TRUE means warn about function files that have time stamps in the future.
79 extern bool Vwarn_future_time_stamp; 83 extern bool Vwarn_future_time_stamp;
84
85 // Keep a count of how many END tokens we expect.
86 extern int end_tokens_expected;
80 87
81 extern void 88 extern void
82 parse_and_execute (FILE *f); 89 parse_and_execute (FILE *f);
83 90
84 extern void 91 extern void