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

SOQL grammar doesn't seem to be able to parse statements when they use a parameter with the 'colon' (':') symbol #87

Open
VarS311 opened this issue Jun 27, 2016 · 0 comments

Comments

@VarS311
Copy link
Contributor

VarS311 commented Jun 27, 2016

The following error message:

Unable to parse file: [file path and name] ERROR: Parse error at line 48 column 111:

Is displayed when the parser runs into a SOQL statement which uses the format '[.... :somevariable]' (with colon before the variable name)
e.g.:
List<Relationship_Lookup__c> rlList = new List<Relationship_Lookup__c>(); StaticResource sr = [select body from StaticResource where Name = :RECIPROCAL_DEFAULT_RESOURCE_NAME];

Fixing this will require the SOQL part of the grammar to be enhanced to support this format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant