mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: remove useless support of '.' in integers
* tests/calc.at: here. * doc/bison.texi: Avoid uninitialized variables.
This commit is contained in:
@@ -2715,11 +2715,11 @@ operators in @code{yylex}.
|
||||
int
|
||||
yylex (void)
|
||||
@{
|
||||
int c;
|
||||
int c = getchar ();
|
||||
|
||||
/* Ignore white space, get first nonwhite character. */
|
||||
while ((c = getchar ()) == ' ' || c == '\t')
|
||||
continue;
|
||||
while (c == ' ' || c == '\t')
|
||||
c = getchar ();
|
||||
|
||||
if (c == EOF)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user