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
adace600
Commit
adace600
authored
Aug 07, 1999
by
Jason Merrill
Committed by
Jason Merrill
Aug 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-lex.c (yylex): We can have a number with no digits.
From-SVN: r28561
parent
6ad07332
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/c-lex.c
+2
-1
No files found.
gcc/ChangeLog
View file @
adace600
1999
-
08
-
06
Jason
Merrill
<
jason
@yorick
.
cygnus
.
com
>
*
c
-
lex
.
c
(
yylex
)
:
We
can
have
a
number
with
no
digits
.
Fri
Aug
6
16
:
53
:
55
EDT
1999
John
Wehle
(
john
@feith
.
com
)
Fri
Aug
6
16
:
53
:
55
EDT
1999
John
Wehle
(
john
@feith
.
com
)
*
jump
.
c
(
delete_prior_computation
)
:
New
function
,
broken
*
jump
.
c
(
delete_prior_computation
)
:
New
function
,
broken
...
...
gcc/c-lex.c
View file @
adace600
...
@@ -1656,8 +1656,9 @@ yylex ()
...
@@ -1656,8 +1656,9 @@ yylex ()
}
}
}
}
/* This can happen on input like `int i = 0x;' */
if
(
numdigits
==
0
)
if
(
numdigits
==
0
)
abort
(
);
error
(
"numeric constant with no digits"
);
if
(
largest_digit
>=
base
)
if
(
largest_digit
>=
base
)
error
(
"numeric constant contains digits beyond the radix"
);
error
(
"numeric constant contains digits beyond the radix"
);
...
...
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