From e5782fdc209559ec95fb56b8a3682da287b9e4e9 Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 31 Mar 2008 21:17:27 +0000 Subject: [PATCH] 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 --- src/cc65/scanner.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5