Commit f6cee240 authored by Kai Ma's avatar Kai Ma

[lab1] 修正 calc 输出 (#36)

parent 8bd50599
...@@ -409,7 +409,7 @@ $ flex calc.l ...@@ -409,7 +409,7 @@ $ flex calc.l
$ gcc lex.yy.c calc.tab.c driver.c -o calc $ gcc lex.yy.c calc.tab.c driver.c -o calc
$ ./calc $ ./calc
1+1 1+1
= 1.000000 = 2.000000
2*(1+1) 2*(1+1)
= 4.000000 = 4.000000
2*1+1 2*1+1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment