[jboss-jira] [JBoss JIRA] Created: (JBRULES-876) Single line comments are capturing and removing newline chars in rules consequence

Michael Neale (JIRA) jira-events at lists.jboss.org
Sun May 27 20:44:08 EDT 2007


Single line comments are capturing and removing newline chars in rules consequence
----------------------------------------------------------------------------------

                 Key: JBRULES-876
                 URL: http://jira.jboss.com/jira/browse/JBRULES-876
             Project: JBoss Rules
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Drl Parser/Builder
    Affects Versions: 4.0.0.MR2
            Reporter: Michael Neale
         Assigned To: Edson Tirelli
            Priority: Minor


Using the // and # style single line comments strips out the newline character in the RHS of a rule in the DRL.g parser.

This can be a problem for tooling, and confusing with line numbering inside the consequence. 

It also mucks up MVEL with optional ";" as newlines can also delimit an expression. 

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

        



More information about the jboss-jira mailing list