diff options
Diffstat (limited to 'src/parser.l')
-rw-r--r-- | src/parser.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.l b/src/parser.l index 3491d27..1743dd6 100644 --- a/src/parser.l +++ b/src/parser.l | |||
@@ -76,7 +76,9 @@ null { return tokNull; } | |||
76 | } | 76 | } |
77 | 77 | ||
78 | ([1-9][0-9]*)?\.[0-9]* { | 78 | ([1-9][0-9]*)?\.[0-9]* { |
79 | printf("Parsing float: %s\n", yytext ); | ||
79 | yylval->dValue = strtod( yytext, NULL ); | 80 | yylval->dValue = strtod( yytext, NULL ); |
81 | printf("Final float: %f\n", yylval->dValue ); | ||
80 | return tokFloat; | 82 | return tokFloat; |
81 | } | 83 | } |
82 | 84 | ||