Skip to content

Commit

Permalink
Adds string types for nvarchar and brackets that were missing (#602)
Browse files Browse the repository at this point in the history
* Adds string types for nvarchar and brackets that were missing

* Added  "``" quotes.

Co-authored-by: Francisco Araujo <[email protected]>
Co-authored-by: Etienne BAUDOUX <[email protected]>
  • Loading branch information
3 people authored Jul 23, 2022
1 parent 1a1b8ca commit df0c0c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ protected override Tokenizer GetTokenizer()
ReservedTopLevelWords,
ReservedNewlineWords,
ReservedTopLevelWordsNoIndent,
stringTypes: new[] { "\"\"", "''" },
stringTypes: new[] { "\"\"", "N''", "''", "``", "[]" },
openParens: new[] { "(", "CASE" },
closeParens: new[] { ")", "END" },
indexedPlaceholderTypes: new[] { '?' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ protected override Tokenizer GetTokenizer()
ReservedTopLevelWords,
ReservedNewlineWords,
ReservedTopLevelWordsNoIndent,
stringTypes: new[] { "\"\"", "N''", "''", "[]" },
stringTypes: new[] { "\"\"", "N''", "''", "``", "[]" },
openParens: new[] { "(", "CASE" },
closeParens: new[] { ")", "END" },
indexedPlaceholderTypes: Array.Empty<char>(),
Expand Down

0 comments on commit df0c0c8

Please sign in to comment.