statisticsnorway/java-vtl

Exception with example from README

Closed this issue · 1 comments

Running the example from the README.md leads to the following exception:

Exception in thread "main" no.ssb.vtl.script.error.SyntaxException: mismatched input 'sum' expecting {'rename', 'IDENTIFIER', 'MEASURE', 'ATTRIBUTE', 'filter', 'keep', 'fold', 'unfold', 'drop', IDENTIFIER}

Using a different name works. I'm not sure if sum is a reserved keyword or if that's an issue with the parser.