core: reader_read_identifier_or_number: Prepare for M2-Planet.
* src/reader.c (reader_read_identifier_or_number): Prepare for M2-Planet.
This commit is contained in:
parent
82213b960e
commit
a1eade98c6
|
@ -76,9 +76,11 @@ reader_read_identifier_or_number (int c)
|
|||
int i = 0;
|
||||
long n = 0;
|
||||
int negative_p = 0;
|
||||
if (c == '+' && isdigit (peekchar ()) != 0)
|
||||
if (c == '+')
|
||||
if (isdigit (peekchar ()) != 0)
|
||||
c = readchar ();
|
||||
else if (c == '-' && (isdigit (peekchar ()) != 0))
|
||||
if (c == '-')
|
||||
if (isdigit (peekchar ()) != 0)
|
||||
{
|
||||
negative_p = 1;
|
||||
c = readchar ();
|
||||
|
|
Loading…
Reference in a new issue