mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
6b80d72c03
commit
b3e25150e9
@ -195,14 +195,14 @@ function handleKeyTokenFindResult(context: SplitExecutionContext, findResult: Fi
|
||||
read(context, findResult.expIndex, findResult.nextIndex);
|
||||
publishStatement(context);
|
||||
break;
|
||||
// case BACKTICK:
|
||||
case SINGLE_QUOTE:
|
||||
case DOUBLE_QUOTE:
|
||||
// case BACKTICK: {
|
||||
// read(context, findResult.nextIndex);
|
||||
// const findQuoteResult = findEndQuote(context.unread, findResult.exp);
|
||||
// read(context, findQuoteResult.nextIndex, undefined, false);
|
||||
// break;
|
||||
// }
|
||||
case DOUBLE_QUOTE: {
|
||||
read(context, findResult.nextIndex);
|
||||
const findQuoteResult = findEndQuote(context.unread, findResult.exp);
|
||||
read(context, findQuoteResult.nextIndex, undefined, false);
|
||||
break;
|
||||
}
|
||||
case DOUBLE_DASH_COMMENT_START: {
|
||||
if (context.retainComments) {
|
||||
read(context, findResult.nextIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user