mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Merge pull request #3232 from nnnnoel/patch-1
fix(mysql/tokenizer): Fix single quoted string escape
This commit is contained in:
commit
831c6b4dbb
1 changed files with 1 additions and 0 deletions
|
|
@ -862,6 +862,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
[/"/, { token: 'string.double', next: '@stringDouble' }]
|
[/"/, { token: 'string.double', next: '@stringDouble' }]
|
||||||
],
|
],
|
||||||
string: [
|
string: [
|
||||||
|
[/\\'/, 'string'],
|
||||||
[/[^']+/, 'string'],
|
[/[^']+/, 'string'],
|
||||||
[/''/, 'string'],
|
[/''/, 'string'],
|
||||||
[/'/, { token: 'string', next: '@pop' }]
|
[/'/, { token: 'string', next: '@pop' }]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue