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

Toni Rikkola (JIRA) jira-events at lists.jboss.org
Sat Aug 30 17:56:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBRULES-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Toni Rikkola closed JBRULES-1749.
---------------------------------

    Resolution: Done


> 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