diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-08 20:38:56 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-08 20:38:56 +0000 |
commit | c5d1304f04273b579e00f967ec564a8de3ea0e69 (patch) | |
tree | be6bacefb60a64aef0017f94cd4913d89c6032fe /src | |
parent | 21cf5c846c1d004da98b4c93715ca44036f7ecd5 (diff) | |
download | build-c5d1304f04273b579e00f967ec564a8de3ea0e69.tar.gz build-c5d1304f04273b579e00f967ec564a8de3ea0e69.tar.bz2 build-c5d1304f04273b579e00f967ec564a8de3ea0e69.tar.xz build-c5d1304f04273b579e00f967ec564a8de3ea0e69.zip |
Packaging updates, started on the manual, too.
Diffstat (limited to 'src')
-rw-r--r-- | src/build.l | 4 |
1 files changed, 2 insertions, 2 deletions
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; | |||
140 | return LTR_UNDEF; | 140 | return LTR_UNDEF; |
141 | } | 141 | } |
142 | 142 | ||
143 | -?([1-9][0-9]*)|(0) { | 143 | ([1-9][0-9]*)|(0) { |
144 | yylval->iVal = strtol( yytext, NULL, 10 ); | 144 | yylval->iVal = strtol( yytext, NULL, 10 ); |
145 | return LTR_INT; | 145 | return LTR_INT; |
146 | } | 146 | } |
147 | 147 | ||
148 | (0\.0+)|(-?(([1-9][0-9]*)|(0))\.[0-9]*) { | 148 | (0\.0+)|((([1-9][0-9]*)|(0))\.[0-9]*) { |
149 | yylval->fVal = strtof( yytext, NULL ); | 149 | yylval->fVal = strtof( yytext, NULL ); |
150 | return LTR_FLOAT; | 150 | return LTR_FLOAT; |
151 | } | 151 | } |