Skip to content

Commit e9032f5

Browse files
azizkprincemaple
authored andcommitted
Syntaxes: changed pop: true to pop: 1.
1 parent 04d3ce4 commit e9032f5

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

syntaxes/PCRE (Erlang).sublime-syntax

+11-11
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ contexts:
4343
- meta_scope: meta.quote.pcree
4444
- match: \\E
4545
scope: keyword.control.quote.pcree punctuation.definition.quote.end.pcree
46-
pop: true
46+
pop: 1
4747
- include: literal
4848

4949
subroutine_call:
@@ -186,7 +186,7 @@ contexts:
186186
scope: constant.character.escape.ascii.pcree
187187
captures:
188188
1: invalid.illegal.escape.ascii.pcree
189-
pop: true
189+
pop: 1
190190
- match: \\[aefnrt]
191191
scope: constant.character.escape.non-printable.pcree
192192
- match: \\.
@@ -229,7 +229,7 @@ contexts:
229229
- meta_scope: meta.backtracking.pcree
230230
- meta_content_scope: entity.name.constant.pcree
231231
- match: (?=\))
232-
pop: true
232+
pop: 1
233233
- include: backtracking_verb_end
234234
- include: backtracking_verb_end
235235

@@ -301,14 +301,14 @@ contexts:
301301
- meta_content_scope: meta.group.pcree
302302
- match: \)
303303
scope: meta.group.pcree keyword.control.group.pcree punctuation.definition.group.end.pcree
304-
pop: true
304+
pop: 1
305305
- include: expression
306306

307307
conditional_subpattern_pop:
308308
- meta_content_scope: meta.group.pcree
309309
- include: conditional_subpattern
310310
- match: ''
311-
pop: true
311+
pop: 1
312312

313313
conditional_subpattern:
314314
- match: \?((\()(\)))
@@ -379,7 +379,7 @@ contexts:
379379
- include: class_set_escape_sequence
380380
- match: \]
381381
scope: keyword.control.set.pcree punctuation.definition.set.end.pcree
382-
pop: true
382+
pop: 1
383383
- include: literal
384384

385385
character_range:
@@ -399,7 +399,7 @@ contexts:
399399
captures:
400400
1: invalid.illegal.range.pcree
401401
2: constant.other.range.pcree
402-
pop: true
402+
pop: 1
403403

404404
# Escape sequences inside [...]
405405
class_set_escape_sequence:
@@ -427,7 +427,7 @@ contexts:
427427
- meta_scope: constant.other.set.posix.pcree
428428
- match: :]
429429
scope: keyword.control.set.posix.pcree punctuation.definition.posix-class.end.pcree
430-
pop: true
430+
pop: 1
431431
- match: (\^?)((?>alnum|alpha|ascii|blank|cntrl|digit|graph|lower|print|punct|space|upper|word|xdigit))
432432
captures:
433433
1: keyword.control.set.negation.pcree
@@ -456,7 +456,7 @@ contexts:
456456
unexpected_quantifier_pop:
457457
- include: unexpected_quantifier
458458
- match: ''
459-
pop: true
459+
pop: 1
460460

461461
dot_meta_char:
462462
- match: \.
@@ -468,12 +468,12 @@ contexts:
468468
- include: escape_sequence
469469
- match: '#'
470470
scope: meta.literal.pcree
471-
pop: true
471+
pop: 1
472472
- match: (?<=\s)#
473473
push:
474474
- meta_scope: comment.line.number-sign.pcree
475475
- match: \n
476-
pop: true
476+
pop: 1
477477

478478
literal:
479479
- match: .|\n

syntaxes/SQL (Elixir).sublime-syntax

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ contexts:
8888
# Comments can be nested.
8989
- include: comment
9090
- match: \*/
91-
pop: true
91+
pop: 1

0 commit comments

Comments
 (0)