[jboss-jira] [JBoss JIRA] Closed: (JBRULES-2041) .drl file ending in a single line comment w/o EOL not accepted

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu May 14 23:18:59 EDT 2009


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

Mark Proctor closed JBRULES-2041.
---------------------------------

    Fix Version/s: 5.0.0.FINAL
                       (was: 5.0.1.FINAL)
       Resolution: Done


> .drl file ending in a single line comment w/o EOL not accepted
> --------------------------------------------------------------
>
>                 Key: JBRULES-2041
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2041
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler (expert)
>    Affects Versions: 5.0.0.CR1
>            Reporter: Wolfgang Laun
>            Assignee: Edson Tirelli
>             Fix For: 5.0.0.FINAL
>
>
> If the last line on some .drl file is a single line comment without EOL the compiler reports an error:
> Error message:
> [103,7]: [ERR 101] Line 103:7 no viable alternative at input ''
> I guess the DRL.g will have to provide the alternative (EOL|EOF) in both STYLE_SINGLE_LINE_COMMENT rules.

-- 
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