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
b78f9414
Commit
b78f9414
authored
Apr 22, 2003
by
Neil Booth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
From-SVN: r65954
parent
df1b07f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/ChangeLog
+5
-1
gcc/cpplex.c
+4
-4
No files found.
gcc/ChangeLog
View file @
b78f9414
2003-04-22 Neil Booth <neil@daikokuya.co.uk>
* cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
2003-04-22 Devang Patel <dpatel@apple.com>
* cpptrad.c (_cpp_replacement_text_len): Add check for macro parameter count.
* cpptrad.c (_cpp_replacement_text_len): Add check for macro
parameter count.
(_cpp_copy_replacement_text): Same.
2003-04-22 Neil Booth <neil@daikokuya.co.uk>
...
...
gcc/cpplex.c
View file @
b78f9414
...
...
@@ -714,15 +714,15 @@ _cpp_get_fresh_line (pfile)
"no newline at end of file"
);
}
if
(
!
buffer
->
prev
)
return
false
;
if
(
buffer
->
return_at_eof
)
{
buffer
->
return_at_eof
=
false
;
_cpp_pop_buffer
(
pfile
)
;
return
false
;
}
if
(
!
buffer
->
prev
)
return
false
;
_cpp_pop_buffer
(
pfile
);
}
}
...
...
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