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
97876d66
Commit
97876d66
authored
Jan 25, 2001
by
Richard Earnshaw
Committed by
Richard Earnshaw
Jan 25, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lex.c (java_read_char): Check for EOF from getc first.
From-SVN: r39261
parent
86e21212
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/java/ChangeLog
+4
-0
gcc/java/lex.c
+2
-2
No files found.
gcc/java/ChangeLog
View file @
97876d66
2001-01-25 Richard Earnshaw <rearnsha@arm.com>
* lex.c (java_read_char): Check for EOF from getc first.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Don't lay the superclass out if it's
* class.c (layout_class): Don't lay the superclass out if it's
...
...
gcc/java/lex.c
View file @
97876d66
...
@@ -447,10 +447,10 @@ java_read_char (lex)
...
@@ -447,10 +447,10 @@ java_read_char (lex)
int
c
,
c1
,
c2
;
int
c
,
c1
,
c2
;
c
=
getc
(
lex
->
finput
);
c
=
getc
(
lex
->
finput
);
if
(
c
<
128
)
return
(
unicode_t
)
c
;
if
(
c
==
EOF
)
if
(
c
==
EOF
)
return
UEOF
;
return
UEOF
;
if
(
c
<
128
)
return
(
unicode_t
)
c
;
else
else
{
{
if
((
c
&
0xe0
)
==
0xc0
)
if
((
c
&
0xe0
)
==
0xc0
)
...
...
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