Skip to content

Commit ee05f38

Browse files
authored
Update sql.bnf (#669)
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
1 parent 51742d6 commit ee05f38

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/kotlin/com/alecstrong/sql/psi/core

1 file changed

+1
-1
lines changed

core/src/main/kotlin/com/alecstrong/sql/psi/core/sql.bnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ full_join_operator ::= FULL
392392

393393
join_operator ::= ( COMMA
394394
| [ NATURAL ] [ left_join_operator [ OUTER ] | INNER | CROSS ] JOIN )
395-
join_constraint ::= ON expr | USING LP column_name ( COMMA column_name ) * RP
395+
join_constraint ::= [ ON expr | USING LP column_name ( COMMA column_name ) * RP ]
396396
ordering_term ::= expr [ COLLATE collation_name ] [ ASC | DESC ] {
397397
mixin = "com.alecstrong.sql.psi.core.psi.mixins.OrderByMixin"
398398
}

0 commit comments

Comments
 (0)