Mercurial > hg > octave-nkf
diff src/pt-arg-list.h @ 4258:b8a4496d7b24
[project @ 2003-01-02 03:45:53 by jwe]
author | jwe |
---|---|
date | Thu, 02 Jan 2003 03:45:53 +0000 |
parents | 90e44267e8cf |
children | 7cd865a8c815 |
line wrap: on
line diff
--- a/src/pt-arg-list.h +++ b/src/pt-arg-list.h @@ -45,9 +45,13 @@ { public: - tree_argument_list (void) { } + typedef tree_expression* element_type; - tree_argument_list (tree_expression *t) { append (t); } + tree_argument_list (void) + : list_includes_magic_end (false) { } + + tree_argument_list (tree_expression *t) + : list_includes_magic_end (false) { append (t); } ~tree_argument_list (void); @@ -59,6 +63,8 @@ return retval; } + void append (const element_type& s); + int nargout_count (void) const; bool all_elements_are_constant (void) const; @@ -71,6 +77,8 @@ private: + bool list_includes_magic_end; + // No copying! tree_argument_list (const tree_argument_list&);