changeset 2:151c7fe6c61a

initialize
author kono@ie.u-ryukyu.ac.jp
date Sun, 29 Aug 2010 02:36:08 +0900
parents b149a5aa465a
children 1f46c9d09c1e
files src/plparser/PropertyListParser.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plparser/PropertyListParser.java	Sat Aug 28 17:39:34 2010 +0900
+++ b/src/plparser/PropertyListParser.java	Sun Aug 29 02:36:08 2010 +0900
@@ -10,12 +10,14 @@
 	Token<Node> nextToken;
 	public PropertyListScanner<Node> scanner;
 	private Dictionary<Node> dict;
-	// private PropertyListScope<Node> scope;
+//	private PropertyListScope<Node> scope;
 	
 	public PropertyListParser(String string,
 			PropertyListNodeFactory<Node> lf) {
 		this.lf = lf;
+		initialize();
 	}
+	
 
 	public void initReservedWord() {
 		dict.reserve("=",TokenID.Assign);
@@ -31,7 +33,7 @@
 
 	public void initialize() {
 		dict = new Dictionary<Node>();
-		// scope = new PropertyListScope<Node>(null,dict);
+	//	scope = new PropertyListScope<Node>(null,dict);
 		initReservedWord();
 		scanner = new PropertyListScanner<Node>(dict);
 	}