Mercurial > hg > octave-nkf
diff src/pt-decl.h @ 3523:b80bbb43a1a9
[project @ 2000-02-02 10:25:52 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 10:26:25 +0000 |
parents | 6a7b578b6fb4 |
children | 6e86256e9c54 |
line wrap: on
line diff
--- a/src/pt-decl.h +++ b/src/pt-decl.h @@ -115,10 +115,10 @@ { public: - tree_decl_command (const string& n, int l = -1, int c = -1) + tree_decl_command (const std::string& n, int l = -1, int c = -1) : tree_command (l, c), cmd_name (n), initialized (false), init_list (0) { } - tree_decl_command (const string& n, tree_decl_init_list *t, + tree_decl_command (const std::string& n, tree_decl_init_list *t, int l = -1, int c = -1) : tree_command (l, c), cmd_name (n), initialized (false), init_list (t) { } @@ -128,12 +128,12 @@ void accept (tree_walker& tw); - string name (void) { return cmd_name; } + std::string name (void) { return cmd_name; } protected: // The name of this command -- global, static, etc. - string cmd_name; + std::string cmd_name; // TRUE if this command has been evaluated. bool initialized;