Fix lexer
This commit is contained in:
parent
a9a04070f6
commit
53409bf710
@ -67,14 +67,14 @@ class CustomLexer(LuaLexer):
|
||||
include('base')
|
||||
],
|
||||
'dqs': [
|
||||
(r'"', String, '#pop'),
|
||||
(r'"', String.Double, '#pop'),
|
||||
(r'\\.|\'', String), # double-quoted string don't need ' escapes
|
||||
(r'#\{', String.Interpol, "interpoling_string"),
|
||||
(r'#', String),
|
||||
include('strings')
|
||||
],
|
||||
'sqs': [
|
||||
(r"'", String, '#pop'),
|
||||
(r"'", String.Single, '#pop'),
|
||||
(r'#|\\.|"', String), # single quoted strings don't need " escapses
|
||||
include('strings')
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user