From 6649e31514c727c36fbd47ad8aa7224bfa201331 Mon Sep 17 00:00:00 2001 From: Pete Johns Date: Wed, 27 Oct 2010 21:14:40 +1100 Subject: [PATCH] Fixed test case so that it would compile. --- test/testtokenize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index edfc84c0d..c3e439f53 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -704,7 +704,7 @@ private: "{\n" " char *str = malloc(10);\n" " if (somecondition)\n" - " for ( ; )\n" + " for ( ; ; )\n" " { }\n" " return str;\n" "}\n"; @@ -712,7 +712,7 @@ private: "{\n" "char * str ; str = malloc ( 10 ) ;\n" "if ( somecondition ) {\n" - "for ( ; )\n" + "for ( ; ; )\n" "{ } }\n" "return str ;\n" "}", tokenizeAndStringify(code, true));