Mercurial > hg > octave-lyh
diff src/pt-check.cc @ 4229:40153a2affd6
[project @ 2002-12-18 20:37:32 by jwe]
author | jwe |
---|---|
date | Wed, 18 Dec 2002 20:37:32 +0000 |
parents | 23d06c9e1edd |
children | 813effe14ee1 |
line wrap: on
line diff
--- a/src/pt-check.cc +++ b/src/pt-check.cc @@ -481,6 +481,11 @@ } void +tree_checker::visit_subplot_axes (subplot_axes& cmd) +{ +} + +void tree_checker::visit_subplot_list (subplot_list& lst) { subplot_list::iterator p = lst.begin (); @@ -618,6 +623,20 @@ } void +tree_checker::visit_do_until_command (tree_do_until_command& cmd) +{ + tree_statement_list *list = cmd.body (); + + if (list) + list->accept (*this); + + tree_expression *expr = cmd.condition (); + + if (expr) + expr->accept (*this); +} + +void tree_checker::gripe (const std::string& msg, int line) { if (curr_fcn_file_name.empty ())