diff src/plparser/ArrayProperty.java @ 3:1f46c9d09c1e

Simple Example worked.
author kono@ie.u-ryukyu.ac.jp
date Sun, 29 Aug 2010 12:47:11 +0900
parents b149a5aa465a
children 563bcb96e4fa
line wrap: on
line diff
--- a/src/plparser/ArrayProperty.java	Sun Aug 29 02:36:08 2010 +0900
+++ b/src/plparser/ArrayProperty.java	Sun Aug 29 12:47:11 2010 +0900
@@ -8,8 +8,16 @@
 	public ArrayProperty(LinkedList<Property> list1) {
 		list = list1;
 	}
-	
+
 	public String toString() {
-		return "Array ("+list+")";
+		String s = "Array(" ;
+		for(Property p:list) {
+			s += p;
+			s += ",";
+		}
+		s = s.substring(0, s.length()-1);
+		s += ")";
+		return s;
 	}
+
 }