mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Minor change
git-svn-id: svn://svn.cc65.org/cc65/trunk@3109 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f500a641c5
commit
71ed8810c3
@ -688,7 +688,7 @@ void NextToken (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Determine the next token from the lookahead */
|
/* Determine the next token from the lookahead */
|
||||||
if (IsDigit (CurC)) {
|
if (IsDigit (CurC) || (CurC == '.' && IsDigit (NextC))) {
|
||||||
/* A number */
|
/* A number */
|
||||||
NumericConst ();
|
NumericConst ();
|
||||||
return;
|
return;
|
||||||
@ -825,9 +825,6 @@ void NextToken (void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case '.':
|
case '.':
|
||||||
if (IsDigit (NextC)) {
|
|
||||||
NumericConst ();
|
|
||||||
} else {
|
|
||||||
NextChar ();
|
NextChar ();
|
||||||
if (CurC == '.') {
|
if (CurC == '.') {
|
||||||
NextChar ();
|
NextChar ();
|
||||||
@ -839,7 +836,6 @@ void NextToken (void)
|
|||||||
} else {
|
} else {
|
||||||
NextTok.Tok = TOK_DOT;
|
NextTok.Tok = TOK_DOT;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '/':
|
case '/':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user