Mercurial > hg > octave-lyh
diff src/lex.h @ 7715:5b4d278ec828
parse scripts completely before executing
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 16 Apr 2008 15:09:56 -0400 |
parents | ae90e05ad299 |
children | 4e2eafef689c |
line wrap: on
line diff
--- a/src/lex.h +++ b/src/lex.h @@ -50,6 +50,8 @@ // Is the given string a keyword? extern bool is_keyword (const std::string& s); +extern void prep_lexer_for_script (void); + // For communication between the lexer and parser. class @@ -72,10 +74,6 @@ // TRUE means we're in the middle of defining a loop. int looping; - // TRUE means we think we are looking at the beginning of a - // function definition. - bool beginning_of_function; - // TRUE means that we should convert spaces to a comma inside a // matrix definition. bool convert_spaces_to_comma;