Author: timotei
Date: Tue Jul 26 17:39:12 2011
New Revision: 50446

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50446&view=rev
Log:
eclipse plugin: The parsed tag's keys should be
required

Modified:
    trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/SimpleLuaParser.java

Modified: 
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/SimpleLuaParser.java
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/SimpleLuaParser.java?rev=50446&r1=50445&r2=50446&view=diff
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/SimpleLuaParser.java 
(original)
+++ trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/wml/SimpleLuaParser.java 
Tue Jul 26 17:39:12 2011
@@ -17,7 +17,6 @@
 
 import org.wesnoth.Logger;
 import org.wesnoth.utils.StringUtils;
-import org.wesnoth.wml.WMLTag;
 
 /**
  * This is a simple Lua parser that returns the found interesting tokens
@@ -73,7 +72,7 @@
                                 token.indexOf( '.' ) + 1 );
 
                         currentTag.getExpressions( ).add(
-                                WmlFactory2.eINSTANCE.createWMLKey( 
attributeName, "string" ) );
+                                WmlFactory2.eINSTANCE.createWMLKey( 
attributeName, "string", '1', false ) );
                     }
 
                     List<String> childTokens = StringUtils.getGroups( 
ATTRIBUTE_CHILD_REGEX, line );
@@ -83,7 +82,7 @@
                                 token.lastIndexOf( '"' ) );
 
                         currentTag.getExpressions( ).add(
-                                WmlFactory2.eINSTANCE.createWMLKey( childName, 
"string" ) );
+                                WmlFactory2.eINSTANCE.createWMLKey( childName, 
"string", '1', false ) );
                     }
                 }
             }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to