From 721d458d4c24741ccbc5519b7ca39234a1a21ff6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Jul 2024 13:11:42 +0200 Subject: Adding upstream version 25.5.1. Signed-off-by: Daniel Baumann --- sqlglotrs/src/settings.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sqlglotrs/src/settings.rs') diff --git a/sqlglotrs/src/settings.rs b/sqlglotrs/src/settings.rs index 4cacb9b..9fb8fda 100644 --- a/sqlglotrs/src/settings.rs +++ b/sqlglotrs/src/settings.rs @@ -76,6 +76,7 @@ pub struct TokenizerSettings { pub commands: HashSet, pub command_prefix_tokens: HashSet, pub heredoc_tag_is_identifier: bool, + pub string_escapes_allowed_in_raw_strings: bool, } #[pymethods] @@ -98,6 +99,7 @@ impl TokenizerSettings { commands: HashSet, command_prefix_tokens: HashSet, heredoc_tag_is_identifier: bool, + string_escapes_allowed_in_raw_strings: bool, ) -> Self { let to_char = |v: &String| { if v.len() == 1 { @@ -147,6 +149,7 @@ impl TokenizerSettings { commands, command_prefix_tokens, heredoc_tag_is_identifier, + string_escapes_allowed_in_raw_strings, } } } -- cgit v1.2.3