Lexer tokenized input:
======================
[T:Unterminated variable reference: $(var][NL:
][T:iable)][NL:
][Eof:]
Tokens:
=======
[Token Text at TS-err-variableRef3.txt(1:1 [0] - 1:39 [38]): 'Unterminated variable reference: $(var']
[Token NewLine at TS-err-variableRef3.txt(1:39 [38] - 2:1 [39]): '\n']
[Token Text at TS-err-variableRef3.txt(2:1 [39] - 2:7 [45]): 'iable)']
[Token NewLine at TS-err-variableRef3.txt(2:7 [45] - 3:1 [46]): '\n']
[Token Eof at TS-err-variableRef3.txt(3:1 [46] - 3:1 [46]): '']

[PARSER ERROR: code InvalidVariableName at 1:34 [33] - 1:39 [38] in TS-err-variableRef3.txt, token text: $(var, message: Incorrect syntax was encountered while parsing '$(var'.]
