-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect error in line 0 when CFML parsing encounters cfscript-like not-equals #230
Comments
This is an interesting parsing ambiguity. Is the following also valid? <cfif "foo" > "bar">Foo Determining the correctly way to parse that is not trivial.... |
Lucee 5 seems to parse it though. Very odd. I would suggest that trying to use this edgy syntax is a bad idea. |
I'm fine if this triggers a |
That helps. I agree that the 2nd parsing error should not occur. it is fixed. |
When scanning the following piece of code:
The
<>
triggers a parsing error (which might be an issue in itself -- I'm not sure if today's standards allow script-like use of comparators in CFML; Update: the code does work correctly on Railo 4.2.), which erroneously appears twice in the report output, once correctly with reported line 1, once incorrectly with line 0:The text was updated successfully, but these errors were encountered: