Update coffeescript grammar

This commit is contained in:
Matt Bierner 2017-06-20 15:10:49 -07:00
parent ac60143aa9
commit 4f372d0b25

View file

@ -4,6 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/atom/language-coffee-script/commit/087e41aeef03b52615ef5c9e159a4b98e813f8a6",
"scopeName": "source.coffee",
"name": "CoffeeScript",
"fileTypes": [
@ -115,10 +116,10 @@
}
},
"name": "string.quoted.script.coffee",
"contentName": "source.embedded.js",
"patterns": [
{
"match": "(xh{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
"name": "constant.character.escape.coffee"
"include": "source.js"
}
]
},
@ -448,7 +449,7 @@
"name": "punctuation.definition.escape.backslash.coffee"
}
},
"match": "(\\\\)(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
"match": "(\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
"name": "constant.character.escape.backslash.coffee"
},
{
@ -529,7 +530,7 @@
"name": "punctuation.definition.escape.backslash.coffee"
}
},
"match": "(\\\\)(x\\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",
"match": "(\\\\)(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",
"name": "constant.character.escape.backslash.coffee"
}
]
@ -556,7 +557,7 @@
"name": "constant.character.character-class.regexp"
},
{
"match": "\\\\([0-7]{3}|x\\h\\h|u\\h\\h\\h\\h)",
"match": "\\\\([0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4})",
"name": "constant.character.numeric.regexp"
},
{
@ -672,7 +673,7 @@
"name": "constant.character.escape.backslash.regexp"
}
},
"match": "(?:.|(\\\\(?:[0-7]{3}|x\\h\\h|u\\h\\h\\h\\h))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x\\h\\h|u\\h\\h\\h\\h))|(\\\\c[A-Z])|(\\\\.))",
"match": "(?:.|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}))|(\\\\c[A-Z])|(\\\\.))",
"name": "constant.other.character-class.range.regexp"
},
{