From e495c90121c15f8c7d716ad002c3333e3d73a733 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 10 Apr 2006 14:15:00 +0000 Subject: [PATCH] Displays error line on error --- utils/help2Website.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/help2Website.java b/utils/help2Website.java index 6db4527..d23e35a 100755 --- a/utils/help2Website.java +++ b/utils/help2Website.java @@ -6,6 +6,7 @@ public class help2Website public static void main(String [] args) { + String line = ""; try{ Hashtable targets = new Hashtable(); @@ -19,7 +20,6 @@ public class help2Website +"\n" +"

Contents

\n"); - String line; StringTokenizer st; StringBuffer indent = new StringBuffer(); @@ -29,6 +29,7 @@ public class help2Website if(line.indexOf("target")==-1) continue; + st = new StringTokenizer(line, "\""); st.nextToken(); //