diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-12-23 01:01:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-12-23 01:01:38 +0000 |
commit | 42471ba9170c27da4fe830b46ce3b9fb49ae2b78 (patch) | |
tree | 38fa295814597111864dd0fa0a5a3bde5209273a /gcc/go/gofrontend/lex.cc | |
parent | 476e904fc3cf1525c7e93ebc6acf9e01adcac701 (diff) | |
download | gcc-42471ba9170c27da4fe830b46ce3b9fb49ae2b78.zip gcc-42471ba9170c27da4fe830b46ce3b9fb49ae2b78.tar.gz gcc-42471ba9170c27da4fe830b46ce3b9fb49ae2b78.tar.bz2 |
Initialize Lex::lineoff_ field.
From-SVN: r168196
Diffstat (limited to 'gcc/go/gofrontend/lex.cc')
-rw-r--r-- | gcc/go/gofrontend/lex.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/lex.cc b/gcc/go/gofrontend/lex.cc index 7fabd3d..90b41ea 100644 --- a/gcc/go/gofrontend/lex.cc +++ b/gcc/go/gofrontend/lex.cc @@ -434,8 +434,8 @@ Token::print(FILE* file) const Lex::Lex(const char* input_file_name, FILE* input_file) : input_file_name_(input_file_name), input_file_(input_file), - linebuf_(NULL), linebufsize_(120), linesize_(0), lineno_(0), - add_semi_at_eol_(false) + linebuf_(NULL), linebufsize_(120), linesize_(0), lineoff_(0), + lineno_(0), add_semi_at_eol_(false) { this->linebuf_ = new char[this->linebufsize_]; linemap_add(line_table, LC_ENTER, 0, input_file_name, 1); |