Title: [548] trunk/qdox/src/grammar: fix for qdox-127
Revision
548
Author
rfscholte
Date
2009-02-16 14:17:41 -0600 (Mon, 16 Feb 2009)

Log Message

fix for qdox-127

Modified Paths


Diff

Modified: trunk/qdox/src/grammar/lexer.flex (547 => 548)

--- trunk/qdox/src/grammar/lexer.flex	2009-02-16 19:58:12 UTC (rev 547)
+++ trunk/qdox/src/grammar/lexer.flex	2009-02-16 20:17:41 UTC (rev 548)
@@ -194,7 +194,7 @@
         return Parser.JAVADOCSTART;
     }
 
-    "="                 { 
+    "=" {WhiteSpace}* { 
         assignmentDepth = nestingDepth;
         appendingToCodeBody = true;
         pushState(ASSIGNMENT);

Modified: trunk/qdox/src/test/com/thoughtworks/qdox/FieldsTest.java (547 => 548)

--- trunk/qdox/src/test/com/thoughtworks/qdox/FieldsTest.java	2009-02-16 19:58:12 UTC (rev 547)
+++ trunk/qdox/src/test/com/thoughtworks/qdox/FieldsTest.java	2009-02-16 20:17:41 UTC (rev 548)
@@ -44,14 +44,14 @@
     //from QDOX-127
     //fails because returned value is " null"
     //which is already better then mentioned in the issue
-    public void todo_testCommentBeforeInitialization() throws Exception {
+    public void testCommentBeforeInitialization() throws Exception {
     	String source = "public class X{\n" +
     			"// Attributes\n" +
     			"\n" +
     			"/**" +
     			"* Some decription" +
     			"*/" +
-    			"private String uDI = null;\n" +
+    			"private String uDI =   null;\n" +
     			"}";
     	
     	builder.addSource(new StringReader(source));


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to