We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1efce3 commit a437542Copy full SHA for a437542
Calculator.l
@@ -43,8 +43,7 @@
43
yylval.fun->equals = true;
44
return EQUALS;
45
}
46
-[a-zA-Z][0-9]* {
47
- printf("[%s]\n", yytext);
+[a-zA-Z][0-9]* {
48
yylval.fun->find = strdup(yytext);
49
if (!yylval.fun->equals)
50
yylval.fun->var = strdup(yytext);
Calculator.y
@@ -110,7 +110,6 @@
110
111
number
112
: VARIABLE {
113
- printf("%s\n", yylval.fun->find);
114
var_container *v = find_variable(yylval.fun->find, yylval.fun);
115
if (v != NULL)
116
$$ = v->value;
0 commit comments