Mercurial > hg > octave-lyh
diff 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 |
line wrap: on
line diff
--- a/src/parse.h +++ b/src/parse.h @@ -73,11 +73,18 @@ extern bool evaluating_function_body; // Keep track of symbol table information when parsing functions. -extern symbol_table *symtab_context; +extern std::stack<symbol_table*> symtab_context; + +// Name of parent function when parsing function files that might +// contain nested functions. +extern std::string parent_function_name; // TRUE means warn about function files that have time stamps in the future. extern bool Vwarn_future_time_stamp; +// Keep a count of how many END tokens we expect. +extern int end_tokens_expected; + extern void parse_and_execute (FILE *f);