From c5d1304f04273b579e00f967ec564a8de3ea0e69 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 8 Nov 2012 20:38:56 +0000 Subject: Packaging updates, started on the manual, too. --- src/build.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build.l') diff --git a/src/build.l b/src/build.l index 30c79a6..7a77bfc 100644 --- a/src/build.l +++ b/src/build.l @@ -140,12 +140,12 @@ int iStrDepth = 0; return LTR_UNDEF; } --?([1-9][0-9]*)|(0) { +([1-9][0-9]*)|(0) { yylval->iVal = strtol( yytext, NULL, 10 ); return LTR_INT; } -(0\.0+)|(-?(([1-9][0-9]*)|(0))\.[0-9]*) { +(0\.0+)|((([1-9][0-9]*)|(0))\.[0-9]*) { yylval->fVal = strtof( yytext, NULL ); return LTR_FLOAT; } -- cgit v1.2.3