Mercurial > octave-nkf
diff src/pt-check.h @ 8658:73c4516fae10
New evaluator and debugger derived from tree-walker class
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Feb 2009 00:47:53 -0500 |
parents | 5b4d278ec828 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/pt-check.h Tue Feb 03 12:47:38 2009 +0100 +++ b/src/pt-check.h Wed Feb 04 00:47:53 2009 -0500 @@ -26,6 +26,8 @@ #include "pt-walk.h" +class tree_decl_command; + // How to check the semantics of the code that the parse trees represent. class @@ -48,7 +50,9 @@ void visit_continue_command(tree_continue_command&); - void visit_decl_command (tree_decl_command&); + void visit_global_command (tree_global_command&); + + void visit_static_command (tree_static_command&); void visit_decl_elt (tree_decl_elt&); @@ -122,6 +126,8 @@ bool do_lvalue_check; + void do_decl_command (tree_decl_command&); + void gripe (const std::string& msg, int line); // No copying!