Mercurial > octave-nkf
comparison src/ov-usr-fcn.h @ 11461:2b8531a6a3c9
Change mentions of "nested function" to the less misleading "subfunction"
author | David Grundberg <individ@acc.umu.se> |
---|---|
date | Sat, 08 Jan 2011 11:53:51 +0100 |
parents | 40f311a69417 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11460:17936067b48f | 11461:2b8531a6a3c9 |
---|---|
246 | 246 |
247 octave_value_list all_va_args (const octave_value_list& args); | 247 octave_value_list all_va_args (const octave_value_list& args); |
248 | 248 |
249 void stash_function_name (const std::string& s) { my_name = s; } | 249 void stash_function_name (const std::string& s) { my_name = s; } |
250 | 250 |
251 void mark_as_nested_function (void) { nested_function = true; } | 251 void mark_as_subfunction (void) { subfunction = true; } |
252 | 252 |
253 bool is_nested_function (void) const { return nested_function; } | 253 bool is_subfunction (void) const { return subfunction; } |
254 | 254 |
255 void mark_as_inline_function (void) { inline_function = true; } | 255 void mark_as_inline_function (void) { inline_function = true; } |
256 | 256 |
257 bool is_inline_function (void) const { return inline_function; } | 257 bool is_inline_function (void) const { return inline_function; } |
258 | 258 |
364 int call_depth; | 364 int call_depth; |
365 | 365 |
366 // The number of arguments that have names. | 366 // The number of arguments that have names. |
367 int num_named_args; | 367 int num_named_args; |
368 | 368 |
369 // TRUE means this is a nested function. | 369 // TRUE means this subfunction of a primary function. |
370 bool nested_function; | 370 bool subfunction; |
371 | 371 |
372 // TRUE means this is an inline function. | 372 // TRUE means this is an inline function. |
373 bool inline_function; | 373 bool inline_function; |
374 | 374 |
375 // TRUE means this function is the constructor for class object. | 375 // TRUE means this function is the constructor for class object. |