-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unexpected token after multiplication #147
Comments
I have the same issue, it fails to parse a code like this:
Logs:
|
@alpinweis Thanks for bringing it up again. Have you tried the workaround with the comma mentioned in the last line? |
the comma workaround does work, but updating all the files at my job I need to parse is not realistic. In my case the alternative workaround was to convert that |
this is specifically an error inside of objects. In a block, this parses: a {
b0 = 1 * 2
b1 = 3
} but in an object in an assignment, this does not: a {
b0 = 1 * 2
b1 = 3
} |
Current behaviour fails to parse following hcl code:
Logs:
Expected behaviour is that the parsing should succeed.
Workaround: place a comma after the multiplication
The text was updated successfully, but these errors were encountered: