diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 08:14:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-09 08:14:01 +0000 |
commit | 705d595e4873c2b13dd98d4614ca729f4d4ed81c (patch) | |
tree | d42152d0d58a859ebf2eff8e5688f988f376703d /sqlglotrs/src/tokenizer.rs | |
parent | Releasing debian version 25.26.0-1. (diff) | |
download | sqlglot-705d595e4873c2b13dd98d4614ca729f4d4ed81c.tar.xz sqlglot-705d595e4873c2b13dd98d4614ca729f4d4ed81c.zip |
Merging upstream version 25.29.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sqlglotrs/src/tokenizer.rs')
-rw-r--r-- | sqlglotrs/src/tokenizer.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sqlglotrs/src/tokenizer.rs b/sqlglotrs/src/tokenizer.rs index 6df3bfb..beff96e 100644 --- a/sqlglotrs/src/tokenizer.rs +++ b/sqlglotrs/src/tokenizer.rs @@ -609,8 +609,11 @@ impl<'a> TokenizerState<'a> { let mut text = String::from(""); loop { + let mut new_identifier_escapes; let escapes = if use_identifier_escapes { - &self.settings.identifier_escapes + new_identifier_escapes = self.settings.identifier_escapes.clone(); + new_identifier_escapes.extend(delimiter.chars()); + &new_identifier_escapes } else { &self.settings.string_escapes }; |