repositories
/
ccc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add field specifiers
[ccc.git]
/
expr.c
diff --git
a/expr.c
b/expr.c
index
9cde378
..
b5c8228
100644
(file)
--- a/
expr.c
+++ b/
expr.c
@@
-3,6
+3,7
@@
#include "ast.h"
#include "y.tab.h"
+extern int yylex_destroy(void);
int main()
{
@@
-10,6
+11,7
@@
int main()
int r = yyparse(&result);
if (r != 0)
return r;
+ yylex_destroy();
ast_print(result, 0, stdout);
ast_free(result);
return 0;