summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermet@hermet.pe.kr>2016-01-08 13:17:06 +0900
committerHermet Park <hermet@hermet.pe.kr>2016-01-08 13:17:06 +0900
commit8de253bb6a4bfed1e5e8e3e7e845a024ec0882ed (patch)
treeea7822ecb98f3f87538fa836c3a661a728d94430
parent404adc74c04e746c3f19dda6d816283b7a5ef7a0 (diff)
fix compilation warning.
match the arguments count.
-rw-r--r--src/calc.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calc.l b/src/calc.l
index 700701f..ece6252 100644
--- a/src/calc.l
+++ b/src/calc.l
@@ -45,11 +45,11 @@ ID [a-z][a-z0-9]*
45 return (char) yytext[0];} 45 return (char) yytext[0];}
46 46
47"(" { 47"(" {
48 E(2, "(\n", NULL); 48 E(2, "(\n", NULL, 0);
49 return OBRAK; 49 return OBRAK;
50 } 50 }
51")" { 51")" {
52 E(2, ")\n", NULL); 52 E(2, ")\n", NULL, 0);
53 return CBRAK; 53 return CBRAK;
54 } 54 }
55 55