Skip to content
This repository was archived by the owner on Feb 20, 2022. It is now read-only.

Commit efc0888

Browse files
committed
Dictionary Fix#14 updated in all branches
1 parent 1f9f90b commit efc0888

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

Cython.tmLanguage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,14 +583,14 @@
583583
<key>end</key>
584584
<string>}</string>
585585
<key>name</key>
586-
<string>meta.structure.dictionary.cython</string>
586+
<string>meta.structure.dictionary.python</string>
587587
<key>patterns</key>
588588
<array>
589589
<dict>
590590
<key>begin</key>
591591
<string>(?&lt;={|,|^)\s*(?![,}])</string>
592592
<key>end</key>
593-
<string>\s*(?:(?=}|:))</string>
593+
<string>\s*(?:(?=\})|(\:))</string>
594594
<key>patterns</key>
595595
<array>
596596
<dict>
@@ -603,7 +603,7 @@
603603
<key>begin</key>
604604
<string>(?&lt;=:|^)\s*</string>
605605
<key>end</key>
606-
<string>\s*(?:(?=}|,))</string>
606+
<string>\s*(?:(?=\}|,))</string>
607607
<key>patterns</key>
608608
<array>
609609
<dict>

Python3.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@
559559
<key>begin</key>
560560
<string>(?&lt;={|,|^)\s*(?![,}])</string>
561561
<key>end</key>
562-
<string>\s*(?:(?=}|:))</string>
562+
<string>\s*(?:(?=\})|(\:))</string>
563563
<key>patterns</key>
564564
<array>
565565
<dict>
@@ -572,7 +572,7 @@
572572
<key>begin</key>
573573
<string>(?&lt;=:|^)\s*</string>
574574
<key>end</key>
575-
<string>\s*(?:(?=}|,))</string>
575+
<string>\s*(?:(?=\}|,))</string>
576576
<key>patterns</key>
577577
<array>
578578
<dict>

src/Cython.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,9 @@
433433
],
434434
'end' : r'\]'
435435
},
436-
# DICTINARY
436+
# DICTIONARY
437437
{
438-
'name': 'meta.structure.dictionary.cython',
438+
'name': 'meta.structure.dictionary.python',
439439
'begin': r'{',
440440
'patterns':
441441
[
@@ -447,7 +447,7 @@
447447
'include': '$self'
448448
}
449449
],
450-
'end' : r'\s*(?:(?=}|:))'
450+
'end' : r'\s*(?:(?=\})|(\:))'
451451
},
452452
{
453453
'begin': r'(?<=:|^)\s*',
@@ -457,7 +457,7 @@
457457
'include': '$self'
458458
}
459459
],
460-
'end' : r'\s*(?:(?=}|,))'
460+
'end' : r'\s*(?:(?=\}|,))'
461461
}
462462
],
463463
'end' : r'}'

src/Python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
'include': '$self'
431431
}
432432
],
433-
'end' : r'\s*(?:(?=}|,))'
433+
'end' : r'\s*(?:(?=\}|,))'
434434
}
435435
],
436436
'end' : r'}'

0 commit comments

Comments
 (0)