lkishalmi opened a new pull request, #5854: URL: https://github.com/apache/netbeans/pull/5854
It seems there is a bug in the HCL Grammar spec: https://github.com/hashicorp/hcl/issues/553 According to the spec an `operation` only can happen between `ExprTerm`-s not `Expression`-s making the following assignment invalid: ``` value = 1 + 2 + 3 ``` This change moves the operations to the expression level, as ANTLR4 cannot handle indirect recursions, I had to move the operation rules to the expression level. I do not know if I took the left/right association directives right. That would only affect the ParserTree then the AST build up, though at the moment we do not use those that deep. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
