Mercurial > hg > octave-nkf
comparison src/token.cc @ 1971:ac6030c1f239
[project @ 1996-02-23 10:51:03 by jwe]
author | jwe |
---|---|
date | Fri, 23 Feb 1996 10:51:03 +0000 |
parents | e62277bf5fe0 |
children | 003570e69c7b |
comparison
equal
deleted
inserted
replaced
1970:f10f66467390 | 1971:ac6030c1f239 |
---|---|
49 column_num = c; | 49 column_num = c; |
50 type_tag = string_token; | 50 type_tag = string_token; |
51 str = new string (s); | 51 str = new string (s); |
52 } | 52 } |
53 | 53 |
54 token::token (double d, const string& /* s */, int l, int c) | 54 token::token (double d, const string& s, int l, int c) |
55 { | 55 { |
56 line_num = l; | 56 line_num = l; |
57 column_num = c; | 57 column_num = c; |
58 type_tag = double_token; | 58 type_tag = double_token; |
59 num = d; | 59 num = d; |
60 orig_text = s; | |
60 } | 61 } |
61 | 62 |
62 token::token (end_tok_type t, int l, int c) | 63 token::token (end_tok_type t, int l, int c) |
63 { | 64 { |
64 line_num = l; | 65 line_num = l; |