Mercurial > hg > octave-avbm
diff src/symtab.cc @ 5823:080c08b192d8
[project @ 2006-05-19 05:32:17 by jwe]
author | jwe |
---|---|
date | Fri, 19 May 2006 05:32:19 +0000 |
parents | 368ce5470c90 |
children | 2a6cb4ed8f1e |
line wrap: on
line diff
--- a/src/symtab.cc +++ b/src/symtab.cc @@ -185,6 +185,21 @@ } void +SYMBOL_DEF::document (const std::string& h) +{ + help_string = h; + + if (is_function ()) + { + octave_function *defn = definition.function_value (); + + if (defn) + defn->document (h); + } +} + + +void SYMBOL_DEF::print_info (std::ostream& os, const std::string& prefix) const { os << prefix << "symbol_def::count: " << count << "\n";