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

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Thu Apr 9 18:10:22 EDT 2009


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

Edson Tirelli closed JBRULES-2041.
----------------------------------

    Resolution: Done


Fixed. Thanks for reporting.

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