Open kputnam opened 13 years ago
The parser incorrectly requires a space before THEN. But PostgreSQL accepts IF(cond)THEN, because there's a parenthesis to separate the keyword.
THEN
IF(cond)THEN
The grammar node that needs to change is expressiontUntilThen. There are probably similar bugs in the expressiontUntil... nodes.
expressiontUntilThen
expressiontUntil...
The parser incorrectly requires a space before
THEN
. But PostgreSQL acceptsIF(cond)THEN
, because there's a parenthesis to separate the keyword.The grammar node that needs to change is
expressiontUntilThen
. There are probably similar bugs in theexpressiontUntil...
nodes.