Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
42471ba9
Commit
42471ba9
authored
Dec 23, 2010
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize Lex::lineoff_ field.
From-SVN: r168196
parent
476e904f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/go/gofrontend/lex.cc
+2
-2
No files found.
gcc/go/gofrontend/lex.cc
View file @
42471ba9
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment