From 5f17cbc788908ec09ddab428596364d4fb2779cb Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:41:02 +0000 Subject: [PATCH] 2003/11/05 06:22:11 darcs-hash:20040130074102-2ba56-6826e73884c369cfbbe45a9e1715815a6291f63b.gz --- src/org/xwt/util/Preprocessor.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/org/xwt/util/Preprocessor.java b/src/org/xwt/util/Preprocessor.java index 7e80f7f..2309257 100644 --- a/src/org/xwt/util/Preprocessor.java +++ b/src/org/xwt/util/Preprocessor.java @@ -87,9 +87,9 @@ public class Preprocessor { for(int i=0; i<255; i++) { if (byLength[i] == null) continue; - System.out.println("case " + i + ": {"); + System.out.println("case " + i + ": { switch(neverUseThis.charAt(0)) {"); buildTrie("", byLength[i]); - System.out.println("break; }"); + System.out.println("}; break; }"); } System.out.println("} //switch"); @@ -110,23 +110,21 @@ public class Preprocessor { } } ); for(int i=0; i