From: cuz Date: Mon, 31 Mar 2008 21:17:27 +0000 (+0000) Subject: Allow an optional '+' sign before an exponent of a floating point constant. X-Git-Tag: V2.12.0~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e5782fdc209559ec95fb56b8a3682da287b9e4e9;p=cc65 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 --- diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index 573b09c1e..cc073e373 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -634,6 +634,8 @@ static void NumericConst (void) if (CurC == '-') { Sign = -1; NextChar (); + } else if (CurC == '+') { + NextChar (); } /* Read exponent digits. Since we support only 32 bit floats