Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Parser failing on shorthand param with dot in (i.e. scopes/structs) #62

Closed
boughtonp opened this issue May 16, 2016 · 2 comments
Closed
Milestone

Comments

@boughtonp
Copy link
Contributor

Error: missing '=' at '.'
For:

<cfscript>
    param FreshSessionData.LastModified = 0;
</cfscript>

(Again, in a component the error is reported near the top of the file, instead of the actual param line.)

Using bracket notation also errors:

missing '=' at '[' mismatched input '=' expecting {CONTAINS, CONTAIN, ... ZIP, IDENTIFIER}

@denuno
Copy link
Member

denuno commented May 17, 2016

It doesn't look like bracket notation is valid for either engine, but your example is, so we can fix that. :-)

@denuno denuno added this to the 1.5.1 milestone May 17, 2016
@boughtonp
Copy link
Contributor Author

Heh, surprised Lucee doesn't support it, but fair enough - I just figured I'd check it when I found the other one (which works fine now).

@denuno denuno closed this as completed in 600f6be May 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants