Cast expressions with parentheses
What is the meaning of lexing types in lexer (qType
) with parentheses? Also, why are they not removed?
Consider for instance this code:
> print expression cast (((double))) 1
0 [Standard exception]: Entry from int to ((double)) not available.
I don't understand why we need to parse any parentheses except for the outer ones. And if we need those, why are they parsed in lexer?