Allow an optional '+' sign before an exponent of a floating point constant.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3827 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -634,6 +634,8 @@ static void NumericConst (void)
|
|||||||
if (CurC == '-') {
|
if (CurC == '-') {
|
||||||
Sign = -1;
|
Sign = -1;
|
||||||
NextChar ();
|
NextChar ();
|
||||||
|
} else if (CurC == '+') {
|
||||||
|
NextChar ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read exponent digits. Since we support only 32 bit floats
|
/* Read exponent digits. Since we support only 32 bit floats
|
||||||
|
|||||||
Reference in New Issue
Block a user