Mercurial > hg > octave-nkf
diff libinterp/parse-tree/token.cc @ 16257:db7f07b22b9b
1/10 commits reworking the lexer
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 11 Mar 2013 14:14:41 -0400 |
parents | 12bf6a3f8c45 |
children | 5c32368509a2 15f55df088e7 |
line wrap: on
line diff
--- a/libinterp/parse-tree/token.cc +++ b/libinterp/parse-tree/token.cc @@ -34,6 +34,7 @@ token::token (int tv, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c; @@ -43,6 +44,7 @@ token::token (int tv, const std::string& s, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c; @@ -53,6 +55,7 @@ token::token (int tv, double d, const std::string& s, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c; @@ -64,6 +67,7 @@ token::token (int tv, end_tok_type t, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c; @@ -74,6 +78,7 @@ token::token (int tv, symbol_table::symbol_record *s, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c; @@ -85,6 +90,7 @@ token::token (int tv, symbol_table::symbol_record *cls, symbol_table::symbol_record *pkg, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c; @@ -98,6 +104,7 @@ symbol_table::symbol_record *cls, symbol_table::symbol_record *pkg, int l, int c) { + maybe_cmd = false; tspc = false; line_num = l; column_num = c;