Updated syntax parser to recognize some JOIN condition keywords as
select-join-condition syntax, even inside nested statements.
Updated some non-related tests (m, pr17 and pr68), as this syntax was not
recognized when these tests were written. While this change will modify the
indentation in such cases, it allows more refined control over the indention.
sql-indent.el (sqlind-join-condition-regexp): keywords that
constitute JOIN conditions
(sqlind-syntax-in-select): match sqlind-join-condition-regexp
when looking for join condition keywords
(sqlind-refine-syntax): try to refine a
nested-statement-continuation into aselect-join-condition` if
there is a JOIN in the nested statement.
Updated syntax parser to recognize some JOIN condition keywords as
select-join-condition
syntax, even inside nested statements.Updated some non-related tests (m, pr17 and pr68), as this syntax was not recognized when these tests were written. While this change will modify the indentation in such cases, it allows more refined control over the indention.
sqlind-join-condition-regexp
when looking for join condition keywords (sqlind-refine-syntax): try to refine anested-statement-continuation into a
select-join-condition` if there is a JOIN in the nested statement.