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

Script failing with invalid syntax error #47

Closed
srinivasarajuch opened this issue Mar 21, 2018 · 2 comments
Closed

Script failing with invalid syntax error #47

srinivasarajuch opened this issue Mar 21, 2018 · 2 comments

Comments

@srinivasarajuch
Copy link

Below script execution is failing

function preProcessor()
{
serviceInputParams.put("inputparam", " for ");
}
preProcessor();

Error :
JavaScript. Cause: No block braces after function|for|while|do. Found [for ");\n}
\npreProcessor();

Looks like "for" keyword is identified even it is code.

@mxro
Copy link
Collaborator

mxro commented Mar 22, 2018

Thank you for reporting this issue!

This has been fixed in is included in the latest version 0.1.13 - which has just been uploaded to Maven Central. Does this fix your issue?

@srinivasarajuch
Copy link
Author

Fix is working for me, so closing the issue.

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

2 participants