]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/c/preprocessor/preprocessor-tests.factor
nested-comments: remove this vocab. we have /* */ which is good enough for now.
[factor.git] / extra / c / preprocessor / preprocessor-tests.factor
index f33146107e5133b8d0174097495a3120b2a3f5f4..f0ac37258a0c3956c9c9858cec9f89fda6607b99 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test c.preprocessor kernel accessors multiline
-nested-comments ;
+USING: tools.test c.preprocessor kernel accessors multiline ;
 IN: c.preprocessor.tests
 
 [ "vocab:c/tests/test1/test1.c" start-preprocess-file ]
@@ -10,18 +9,10 @@ IN: c.preprocessor.tests
 { "yo\n\n\n\nyo4\n" }
 [ "vocab:c/tests/test2/test2.c" start-preprocess-file nip ] unit-test
 
-(*
+/*
 [ "vocab:c/tests/test3/test3.c" start-preprocess-file ]
 [ "\"BOO\"" = ] must-fail-with
-*)
+*/
 
 { V{ "\"omg\"" "\"lol\"" } }
 [ "vocab:c/tests/test4/test4.c" start-preprocess-file drop warnings>> ] unit-test
-
-
-(*
-f(2 * (y+1)) + f(2 * (f(2 * (z[0])))) % f(2 * (0)) + t(1);
-f(2 * (2+(3,4)-0,1)) | f(2 * (~ 5)) & f(2 * (0,1))^m(0,1);
-int i[] = { 1, 23, 4, 5, };
-char c[2][6] = { "hello", "" };
-*)