Skip to content
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

Parsing error. When using cfscript reserved words in attribution #131

Open
Vintic opened this issue Jun 12, 2020 · 1 comment
Open

Parsing error. When using cfscript reserved words in attribution #131

Vintic opened this issue Jun 12, 2020 · 1 comment

Comments

@Vintic
Copy link

Vintic commented Jun 12, 2020

Example:
<cfset switch = lv_struct_include_params.phase />

returned InputMismatchException
mismatched input 'switch' expecting {BOOLEAN_LITERAL, OPEN_STRING, PAGE_ENCODING, CONTAINS, CONTAIN, GT, GTE, LTE, LT, EQ, NEQ, OR, TO, IMP, EQV, XOR, AND, NOT, MOD, VAR, NEW, FUNCTION, DEFAULT, '.', '+', '++', '-', '--', '!!', '!', '[', '(', '{', INCLUDE, IMPORT, ABORT, ADMIN, THROW, RETHROW, EXIT, PARAM, PROPERTY, LOCK, THREAD, TRANSACTION, SAVECONTENT, HTTP, CFHTTP, FILE, DIRECTORY, LOOP, SETTING, QUERY, STRING, NUMERIC, BOOLEAN, ANY, ARRAY, STRUCT, PRIVATE, PUBLIC, REMOTE, PACKAGE, REQUIRED, COMPONENT, INTERFACE, LOG, APPLET, ASSOCIATE, AUTHENTICATE, CACHE, COL, COLLECTION, CONTENT, COOKIE, ERROR, EXECUTE, FORM, FTP, GRID, GRIDCOLUMN, GRIDROW, GRIDUPDATE, HEADER, HTMLHEAD, HTTPPARAM, CFHTTPPARAM, IMPERSONATE, INDEX, INPUT, INSERT, LDAP, LOCATION, MAIL, MAILPARAM, MODULE, OBJECT, OUTPUT, POP, PROCESSINGDIRECTIVE, PROCPARAM, PROCRESULT, QUERYPARAM, REGISTRY, REPORT, SCHEDULE, SCRIPT, SEARCH, SELECT, SERVLET, SERVLETPARAM, SET, SILENT, SLIDER, STOREDPROC, TABLE, TEXTINPUT, TREE, TREEITEM, UPDATE, WDDX, ZIP, CFCUSTOM_IDENTIFIER, IDENTIFIER, INTEGER_LITERAL, '#', FLOATING_POINT_LITERAL}

@Vintic
Copy link
Author

Vintic commented Jun 12, 2020

Pleases, check this ones too:
cflint/CFLint#684
cflint/CFLint#687

@Vintic Vintic changed the title Parsing error. When using cfscript reserved words Parsing error. When using cfscript reserved words in attribution Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant