1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Minor change

git-svn-id: svn://svn.cc65.org/cc65/trunk@3109 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-06-06 18:36:08 +00:00
parent f500a641c5
commit 71ed8810c3

View File

@ -688,7 +688,7 @@ void NextToken (void)
}
/* Determine the next token from the lookahead */
if (IsDigit (CurC)) {
if (IsDigit (CurC) || (CurC == '.' && IsDigit (NextC))) {
/* A number */
NumericConst ();
return;
@ -825,9 +825,6 @@ void NextToken (void)
break;
case '.':
if (IsDigit (NextC)) {
NumericConst ();
} else {
NextChar ();
if (CurC == '.') {
NextChar ();
@ -839,7 +836,6 @@ void NextToken (void)
} else {
NextTok.Tok = TOK_DOT;
}
}
break;
case '/':