From 23500a8a122b71181b1292b8375873d06d31bc2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?griff=20=D1=96=E2=8A=99?= <346896+griffio@users.noreply.github.com> Date: Thu, 3 Apr 2025 15:44:33 +0100 Subject: [PATCH] Update sql.bnf Add back the optional join_constraint - seems to create the missing join condition Note - We don't need to remove the other uses of optional join_constraint --- core/src/main/kotlin/com/alecstrong/sql/psi/core/sql.bnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/com/alecstrong/sql/psi/core/sql.bnf b/core/src/main/kotlin/com/alecstrong/sql/psi/core/sql.bnf index 2b3c89a6..fbf3164a 100644 --- a/core/src/main/kotlin/com/alecstrong/sql/psi/core/sql.bnf +++ b/core/src/main/kotlin/com/alecstrong/sql/psi/core/sql.bnf @@ -390,7 +390,7 @@ full_join_operator ::= FULL join_operator ::= ( COMMA | [ NATURAL ] [ left_join_operator [ OUTER ] | INNER | CROSS ] JOIN ) -join_constraint ::= ON expr | USING LP column_name ( COMMA column_name ) * RP +join_constraint ::= [ ON expr | USING LP column_name ( COMMA column_name ) * RP ] ordering_term ::= expr [ COLLATE collation_name ] [ ASC | DESC ] { mixin = "com.alecstrong.sql.psi.core.psi.mixins.OrderByMixin" }