mirror of
https://github.com/ksherlock/65816.tmbundle.git
synced 2024-11-22 11:34:35 +00:00
orca m quote-escaping in strings.
This commit is contained in:
parent
9d819c5f89
commit
db5fb2e8cf
@ -228,7 +228,7 @@ contexts:
|
|||||||
set:
|
set:
|
||||||
- meta_include_prototype: false
|
- meta_include_prototype: false
|
||||||
- meta_scope: string.quoted.single
|
- meta_scope: string.quoted.single
|
||||||
- match: "''" # escaping quote
|
- match: \''|[^'\n] # '' to escape
|
||||||
- match: "'"
|
- match: "'"
|
||||||
scope: punctuation.definition.string.end
|
scope: punctuation.definition.string.end
|
||||||
set: operand-dc
|
set: operand-dc
|
||||||
@ -282,6 +282,7 @@ contexts:
|
|||||||
push:
|
push:
|
||||||
- meta_include_prototype: false
|
- meta_include_prototype: false
|
||||||
- meta_scope: string.quoted.single
|
- meta_scope: string.quoted.single
|
||||||
|
- match: \''|[^'\n] # '' to escape
|
||||||
- match: "'"
|
- match: "'"
|
||||||
scope: punctuation.definition.string.end
|
scope: punctuation.definition.string.end
|
||||||
pop: true
|
pop: true
|
||||||
@ -293,6 +294,7 @@ contexts:
|
|||||||
push:
|
push:
|
||||||
- meta_include_prototype: false
|
- meta_include_prototype: false
|
||||||
- meta_scope: string.quoted.double
|
- meta_scope: string.quoted.double
|
||||||
|
- match: \""|[^"\n] # '' to escape
|
||||||
- match: '"'
|
- match: '"'
|
||||||
scope: punctuation.definition.string.end
|
scope: punctuation.definition.string.end
|
||||||
pop: true
|
pop: true
|
||||||
@ -306,6 +308,7 @@ contexts:
|
|||||||
push:
|
push:
|
||||||
- meta_include_prototype: false
|
- meta_include_prototype: false
|
||||||
- meta_scope: string.quoted.single
|
- meta_scope: string.quoted.single
|
||||||
|
- match: \''|[^'\n] # '' to escape
|
||||||
- match: "'"
|
- match: "'"
|
||||||
scope: punctuation.definition.string.end
|
scope: punctuation.definition.string.end
|
||||||
pop: true
|
pop: true
|
||||||
|
Loading…
Reference in New Issue
Block a user