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

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Sat Mar 28 06:44:22 EDT 2009


.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: Mark Proctor
             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