Mercurial > hg > octave-nkf
diff src/token.h @ 3552:41daa489833a
[project @ 2000-02-03 03:05:28 by jwe]
author | jwe |
---|---|
date | Thu, 03 Feb 2000 03:05:31 +0000 |
parents | ab7fa5a8f23f |
children | 6e86256e9c54 |
line wrap: on
line diff
--- a/src/token.h +++ b/src/token.h @@ -67,7 +67,8 @@ token (int l = -1, int c = -1); token (const std::string& s, int l = -1, int c = -1); - token (double d, const std::string& s = std::string (), int l = -1, int c = -1); + token (double d, const std::string& s = std::string (), + int l = -1, int c = -1); token (end_tok_type t, int l = -1, int c = -1); token (plot_tok_type t, int l = -1, int c = -1); token (symbol_record *s, int l = -1, int c = -1); @@ -86,7 +87,11 @@ std::string text_rep (void); private: + + // No copying! + token (const token& tok); + token& operator = (const token& tok); int line_num;