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 16421642 {
16431643 "comment" : " rest of else line" ,
16441644 "begin" : " (?!(\\ s*(;|!|\\ n)))" ,
1645- "end" : " (?=[;!\\ n])" ,
1645+ "end" : " \\ s* (?=[;!\\ n])" ,
16461646 "patterns" : [
16471647 {
16481648 "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" ,
16501650 "captures" : {
16511651 "1" : {
16521652 "name" : " meta.label.else.fortran"
18821882 "name" : " keyword.control.elsewhere.fortran"
18831883 }
18841884 },
1885- "end" : " (?=[;!\\ n])" ,
1885+ "end" : " \\ s* (?=[;!\\ n])" ,
18861886 "patterns" : [
18871887 {
18881888 "include" : " #parentheses"
18891889 },
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+ },
18901899 {
18911900 "include" : " #invalid-word"
18921901 }
You can’t perform that action at this time.
0 commit comments