From f404d991aa53ed81855e51b597bfe1d5c2288b42 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Dec 2011 17:03:20 -0700 Subject: Most operators work, as well as if/then/else. Loops should be very easy, but we don't have lists working yet, next is scope selection. --- src/parser.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/parser.l') 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; } } ([1-9][0-9]*)?\.[0-9]* { + printf("Parsing float: %s\n", yytext ); yylval->dValue = strtod( yytext, NULL ); + printf("Final float: %f\n", yylval->dValue ); return tokFloat; } -- cgit v1.2.3