aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-08-08 20:18:23 +0800
committerTeddy <[email protected]>2013-08-08 20:18:23 +0800
commit3753b3c4bed58949588a46d4c807a0c0045e8f22 (patch)
treeb08898c19eb7ad9fce46316924651b30bc86c476 /main.cpp
parent2c9f05a38ef64cbaeeae6429cd0e245c27944660 (diff)
new ext_repr() approach
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index 810537d..db635e8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -5,12 +5,8 @@
#include "exc.h"
#include <cstdio>
-#ifdef DEBUG
-extern Pair *empty_list;
-#endif
-
int main() {
- //freopen("in.scm", "r", stdin);
+ freopen("in.scm", "r", stdin);
Tokenizor *tk = new Tokenizor();
ASTGenerator *ast = new ASTGenerator();
Evaluator *eval = new Evaluator();