JSqlParser
JSqlParser copied to clipboard
Unable to parse deep expression when a function is in the middle
Hi, interesting case
To reproduce:
Parse t1.t2(v).t3.c1 = @v
.
Exception message: "Encountered unexpected token: "=" "=" at line 1, column 15. Was expecting one of: "(""
but the next similar expressions are parsed successfully:
t1.t2(v).c1 = @v
and t1.t2(v).t3.c1() = @v
Expected behavior:
t1.t2(v).t3.c1 = @v
is parsed into EqualtTo expression
System: Java Version: 11 JSqlParser version: 4.1