Mercurial > octave
diff src/symtab.cc @ 11263:c78247b664fc
allow private functions to find private functions
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Nov 2010 14:38:17 -0500 |
parents | 1783b360976f |
children | f8e97e9a9301 |
line wrap: on
line diff
--- a/src/symtab.cc Wed Nov 17 14:37:13 2010 -0500 +++ b/src/symtab.cc Wed Nov 17 14:38:17 2010 -0500 @@ -613,6 +613,12 @@ { if (curr_fcn) { + // FIXME -- maybe it would be better if we could just get + // a pointer to the parent function so we would have + // access to all info about it instead of only being able + // to query the current function for specific bits of info + // about its parent function? + scope_id pscope = curr_fcn->parent_fcn_scope (); if (pscope > 0)