summaryrefslogtreecommitdiffhomepage
path: root/src/parse.y
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-27 07:37:22 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-27 07:37:22 -0800
commite5dd50b917fa78375ba0488ca728c99e83e629b6 (patch)
treec35d046258cc2b5803db3d63652cc6bc47f274c6 /src/parse.y
parent437aa216fc9a96d8d4898ff51c0c218670c8b807 (diff)
parent86eadb963700ebb466bf1be35b9d21886f99e927 (diff)
downloadmruby-e5dd50b917fa78375ba0488ca728c99e83e629b6.tar.gz
mruby-e5dd50b917fa78375ba0488ca728c99e83e629b6.zip
Merge pull request #787 from carsonmcdonald/unittestcleanup
Removed tests that look outdated.
Diffstat (limited to 'src/parse.y')
-rw-r--r--src/parse.y24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/parse.y b/src/parse.y
index 1ca3385f5..9ee9c9bec 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -5,7 +5,6 @@
*/
%{
-#undef PARSER_TEST
#undef PARSER_DEBUG
#define YYDEBUG 1
@@ -5648,26 +5647,3 @@ parser_dump(mrb_state *mrb, node *tree, int offset)
}
#endif
}
-
-#ifdef PARSER_TEST
-int
-main()
-{
- mrb_state *mrb = mrb_open();
- int n;
-
- n = mrb_compile_string(mrb, "\
-def fib(n)\n\
- if n<2\n\
- n\n\
- else\n\
- fib(n-2)+fib(n-1)\n\
- end\n\
-end\n\
-print(fib(20), \"\\n\")\n\
-");
- printf("ret: %d\n", n);
-
- return 0;
-}
-#endif