projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
476e904
)
Initialize Lex::lineoff_ field.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 23 Dec 2010 01:01:38 +0000
(
01:01
+0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 23 Dec 2010 01:01:38 +0000
(
01:01
+0000)
From-SVN: r168196
gcc/go/gofrontend/lex.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/lex.cc
b/gcc/go/gofrontend/lex.cc
index 7fabd3dfd1cd7bf9b3bd75a1916054e77342ef56..90b41ea2ed0033a69f939117740ea21efe9b05f1 100644
(file)
--- 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), line
no
_(0),
- add_semi_at_eol_(false)
+ linebuf_(NULL), linebufsize_(120), linesize_(0), line
off
_(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);