[jboss-jira] [JBoss JIRA] Created: (JBRULES-1749) ClassicDRLImporter does not parse curly brackets correctly

Toni Rikkola (JIRA) jira-events at lists.jboss.org
Wed Aug 20 16:53:23 EDT 2008


ClassicDRLImporter does not parse curly brackets correctly
----------------------------------------------------------

                 Key: JBRULES-1749
                 URL: https://jira.jboss.org/jira/browse/JBRULES-1749
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Toni Rikkola
            Assignee: Toni Rikkola


Current parser fails in the following cases.

The curly bracket is on the same line:
function String goo1() {	return "hello";  } // Doesn't stop here

if, switch or similar code block:
function void goo1() {	
    if(true){
        return "hello";
    } // <- stops here
} // <- should stop here

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list