Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit47aaeba

Browse files
committed
Switch in psql_scan() must cover all lexer states (except backslash cases).
Oversight in commitf7559c0, which changedUESCAPE lexing in psql. Per bug #9068 from Manuel Gómez.
1 parentc087e8c commit47aaeba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/bin/psql/psqlscan.l

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,8 @@ psql_scan(PsqlScanState state,
12961296
{
12971297
/* This switch must cover all non-slash-command states. */
12981298
case INITIAL:
1299+
case xuiend:/* we treat these like INITIAL */
1300+
case xusend:
12991301
if (state->paren_depth > 0)
13001302
{
13011303
result = PSCAN_INCOMPLETE;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp