Mercurial > hg > octave-lyh
diff src/token.cc @ 529:7ea224e713cd
[project @ 1994-07-20 18:54:27 by jwe]
author | jwe |
---|---|
date | Wed, 20 Jul 1994 19:19:08 +0000 |
parents | 393e95f46b51 |
children | bc813f5eb025 |
line wrap: on
line diff
--- a/src/token.cc +++ b/src/token.cc @@ -35,14 +35,14 @@ #include "utils.h" #include "symtab.h" -token::token (int l = -1, int c = -1) +token::token (int l, int c) { line_num = l; column_num = c; type_tag = generic_token; } -token::token (char *s, int l = -1, int c = -1) +token::token (char *s, int l, int c) { line_num = l; column_num = c; @@ -50,7 +50,7 @@ str = strsave (s); } -token::token (double d, int l = -1, int c = -1) +token::token (double d, int l, int c) { line_num = l; column_num = c; @@ -58,7 +58,7 @@ num = d; } -token::token (end_tok_type t, int l = -1, int c = -1) +token::token (end_tok_type t, int l, int c) { line_num = l; column_num = c; @@ -66,7 +66,7 @@ et = t; } -token::token (plot_tok_type t, int l = -1, int c = -1) +token::token (plot_tok_type t, int l, int c) { line_num = l; column_num = c; @@ -74,7 +74,7 @@ pt = t; } -token::token (symbol_record *s, int l = -1, int c = -1) +token::token (symbol_record *s, int l, int c) { line_num = l; column_num = c;