File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1642
1642
{
1643
1643
"comment" : " rest of else line" ,
1644
1644
"begin" : " (?!(\\ s*(;|!|\\ n)))" ,
1645
- "end" : " (?=[;!\\ n])" ,
1645
+ "end" : " \\ s* (?=[;!\\ n])" ,
1646
1646
"patterns" : [
1647
1647
{
1648
1648
"comment" : " capture the label if present" ,
1649
- "match" : " \\ s*([a-z]\\ w*)?\\ s*\\ b(\\ w*)\\ b" ,
1649
+ "match" : " (?i) \\ s*([a-z]\\ w*)?\\ s*\\ b(\\ w*)\\ b" ,
1650
1650
"captures" : {
1651
1651
"1" : {
1652
1652
"name" : " meta.label.else.fortran"
1882
1882
"name" : " keyword.control.elsewhere.fortran"
1883
1883
}
1884
1884
},
1885
- "end" : " (?=[;!\\ n])" ,
1885
+ "end" : " \\ s* (?=[;!\\ n])" ,
1886
1886
"patterns" : [
1887
1887
{
1888
1888
"include" : " #parentheses"
1889
1889
},
1890
+ {
1891
+ "comment" : " capture the label if present" ,
1892
+ "match" : " (?i)(\\ s*[a-z]\\ w*)?" ,
1893
+ "captures" : {
1894
+ "1" : {
1895
+ "name" : " meta.label.elsewhere.fortran"
1896
+ }
1897
+ }
1898
+ },
1890
1899
{
1891
1900
"include" : " #invalid-word"
1892
1901
}
You can’t perform that action at this time.
0 commit comments