Message ID | mcrsimbeft2.fsf@iant-glaptop.roam.corp.google.com |
---|---|
State | New |
Headers | show |
diff -r 5d0434c2007e go/lex.cc --- a/go/lex.cc Wed Jul 02 07:22:05 2014 -0700 +++ b/go/lex.cc Tue Jul 08 13:41:25 2014 -0700 @@ -598,7 +598,7 @@ } else if (p[1] == '*') { - this->lineoff_ = p - this->linebuf_; + this->lineoff_ = p + 2 - this->linebuf_; Location location = this->location(); if (!this->skip_c_comment()) return Token::make_invalid_token(location);