Mercurial > octave
comparison libinterp/parse-tree/pt-eval.h @ 24362:3fc24b792a24
avoid including symtab.h, symscope.h, or symrec.h unnecessarily
* main-window.cc, workspace-view.cc, call-stack.cc, call-stack.h,
defun-int.h, input.cc, load-save.h, symscope.h, symtab.h, variables.h,
ov-fcn-inline.h, ov-fcn.h, ov-usr-fcn.cc, ov-usr-fcn.h, lex.h,
oct-lvalue.h, parse.h, pt-arg-list.h, pt-array-list.h, pt-assign.h,
pt-binop.h, pt-cbinop.h, pt-cell.h, pt-cmd.h, pt-colon.h, pt-const.h,
pt-decl.h, pt-eval.h, pt-except.h, pt-exp.h, pt-fcn-handle.h,
pt-idx.h, pt-jit.h, pt-jump.h, pt-loop.h, pt-mat.h, pt-misc.h,
pt-select.h, pt-stmt.h, pt-unop.h, token.cc, token.h:
Where possible, use forward declarations for symbol_table,
symbol_scope, and symbol_record. Don't include symtab.h, symscope.h,
or symrec.h unless needed. Use symbol_record::context_id instead of
symbol_table::context_id or symbol_scope::context_id. Delete typedefs
for symbol_table::context_id and symbol_scope::context_id.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 05 Dec 2017 17:09:24 -0500 |
parents | 8bcfddad15ec |
children | 194eb4bd202b |
comparison
equal
deleted
inserted
replaced
24361:8bcfddad15ec | 24362:3fc24b792a24 |
---|---|
33 #include "call-stack.h" | 33 #include "call-stack.h" |
34 #include "ovl.h" | 34 #include "ovl.h" |
35 #include "profiler.h" | 35 #include "profiler.h" |
36 #include "pt-exp.h" | 36 #include "pt-exp.h" |
37 #include "pt-walk.h" | 37 #include "pt-walk.h" |
38 #include "symtab.h" | |
39 | 38 |
40 namespace octave | 39 namespace octave |
41 { | 40 { |
41 class symbol_scope; | |
42 class tree_decl_elt; | 42 class tree_decl_elt; |
43 class tree_expression; | 43 class tree_expression; |
44 | 44 |
45 class interpreter; | 45 class interpreter; |
46 class unwind_protect; | 46 class unwind_protect; |