Improve julia syntax file

Ref #781
This commit is contained in:
Zachary Yedidia 2017-08-14 15:18:48 -04:00
parent 660f1e181a
commit d70a48bd13
2 changed files with 3 additions and 15 deletions

View file

@ -2210,7 +2210,7 @@ func runtimeSyntaxJsonYaml() (*asset, error) {
return a, nil
}
var _runtimeSyntaxJuliaYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x93\xcb\x72\xdb\x3c\x0c\x85\xf7\x7e\x0a\xfe\x4a\xfe\xc6\x97\x91\x93\x6d\x34\xbd\x4e\xdf\xa2\x92\xe2\xa1\x28\xc8\x46\x4c\x81\x2a\x09\x35\xe3\x16\xed\xb3\x77\x44\x27\x51\x2d\x67\x91\x2e\x3a\x5e\x78\x74\x44\x7c\x38\x38\xa0\x1a\xb4\xc0\x87\x0e\x32\x75\xdf\x5b\xd4\xb3\x59\x0d\x0c\x86\xb3\x99\x52\x4a\x0d\x2f\x49\xb7\x90\xa9\xa4\x28\xd6\xf7\xf6\x32\x89\xf2\x0e\x74\x0d\x3e\x53\xc9\xdd\xc5\x7f\xeb\xe5\xf5\x1c\xe8\x9b\x5a\x2d\x3e\x44\xc0\x5c\xc9\xe5\x22\x99\xcd\x7c\x6f\x21\x64\xb3\x78\xfe\x42\x55\x3d\x5a\x4e\x91\x94\xab\xee\xc1\x70\x88\x72\xaa\x8c\xa3\xc0\x9a\x78\x5d\x39\x67\x63\x93\x6a\xce\xbe\x07\x69\xb4\x0d\xb0\x28\x8a\xea\xd8\xf0\x04\xa1\x99\x3d\x56\x3d\xc3\x94\x92\xa9\x64\xb3\xc9\x3f\xa5\x5f\x74\xfa\xfd\x26\xbd\xdd\x94\xab\xcd\x66\xac\xaf\xa1\x41\x42\x46\x47\x4f\x75\x58\x03\x31\x36\x18\x47\x79\xac\xdb\x94\x7f\x02\x96\x79\x9e\x85\x4e\x1b\xc8\xca\x72\x99\xcf\xcb\x91\xb6\x87\xc3\x83\xf3\xf5\x13\x2a\xb0\x66\x68\x21\x7a\x18\x86\xa8\x60\x8b\x24\x95\x07\xbd\x17\xa3\xd9\xec\xc4\x38\x62\xa4\x61\xb4\x9e\xcc\xe0\x42\xc0\x06\xc0\x26\xfe\x09\x50\x2d\x0d\x92\xb6\xf6\x20\x8d\xf3\xb2\xb5\xae\xd2\x56\xac\x33\xda\x0a\x36\x82\x64\x6c\x5f\x83\xf4\x01\x69\x2b\x1e\xbe\xf6\xe8\x41\x5a\x6d\xbc\x93\xce\x23\xb1\x25\xf1\xc0\xbd\x27\x61\x7f\x90\x61\xa1\xf2\xb0\x43\x0b\xd2\xba\xba\xb7\x93\x28\x6b\x30\xce\x6b\x76\xfe\x3c\x89\x75\x64\x66\x2a\xf9\x78\x12\xe4\x58\xeb\x3a\x38\x29\x0d\x87\xb6\x72\x76\xfd\x24\x0f\x49\xa6\xab\xe5\xb5\xbc\xfb\xff\xed\xfb\x37\xbf\xee\x4a\x19\xe2\xd0\x54\x0b\x39\x16\xe7\x05\x83\x20\x9d\xda\xe9\xb4\x07\xe2\x1d\x04\x98\x40\x2b\xaf\xcd\x1e\x38\x64\x2a\x99\xe7\xf3\xc5\x8f\x9f\x03\x2d\x97\xa2\x28\x17\x63\x35\xf5\x6d\x05\xfe\xec\x46\x1d\xe5\xe3\x3a\xf2\x9b\xf4\xb6\x5c\xc5\x9e\xd3\x63\x81\x3d\xd2\x36\x7b\xa4\xa9\x61\x91\x3e\x2e\x31\xfe\x92\x67\x1d\xa8\x7e\x41\x3d\x5e\x72\x95\x97\xaf\xe6\x5e\x5d\x5d\x4d\xa1\x27\xd2\xdf\x13\x5f\x72\x39\x2a\x61\x8f\x5d\x0c\xa1\x28\xd6\xd3\x2e\xcf\x8f\xd3\x4e\x1d\x18\xd4\xf6\xf3\x4e\xfb\xb1\xf4\xd5\x03\x9e\x8d\xf7\x2f\xcd\xb4\xf1\x9b\x3b\x33\x71\x31\x35\x71\xf9\x52\xc2\xbf\x03\x00\x00\xff\xff\xe0\x69\x3e\xb5\xfb\x04\x00\x00")
var _runtimeSyntaxJuliaYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x93\xdd\x72\xdb\x2c\x10\x86\xcf\x7d\x15\x7c\x24\x5f\x65\xc9\x23\x27\xa7\xd1\xf4\xf7\x36\x2a\xb0\x07\xa1\x95\x4d\x82\x16\x17\x50\x33\x6e\xb7\xbd\xf6\x0e\x38\x89\x6b\xc7\xed\x74\x74\xa0\xd1\xab\x7d\x9f\xfd\x61\x19\x8c\x85\xb8\xdf\x41\xc3\xee\x27\x6b\xd4\x6c\xd6\x43\x04\x1d\x9b\x19\x63\x8c\xa5\x9f\xa8\x46\x68\x18\x17\x62\x79\x6f\xaf\x79\x96\xb7\xa0\x7a\xf0\x0d\xe3\xab\xab\xff\x96\xd5\xcd\x1c\xf0\x2b\x5b\x94\x1f\x32\x60\xce\xe8\xba\xe4\xb3\x99\x9f\x2c\x84\x66\x96\xe3\xaf\x58\x37\x19\x1b\x6b\x83\xcc\x75\xf7\xa0\x63\xc8\x72\xcd\xb4\xc3\x10\x15\xc6\x65\xe7\x9c\xcd\x49\xba\x79\xf4\x13\xd0\xa0\x6c\x80\x52\x88\xee\x90\xf0\x04\xa1\x62\xf4\xa6\x9b\x22\x9c\x53\x1a\xc6\xd7\xeb\xf6\x53\xfd\x59\xd5\xdf\x6e\xeb\xbb\xb5\x5c\xac\xd7\x47\x7f\x0f\x83\x41\x13\x8d\xc3\x67\x9f\xe9\x01\xa3\x19\x4c\x6e\xe5\xc9\xb7\x96\xbf\x03\xaa\xb6\x6d\xc2\x4e\x69\x68\xa4\xac\xda\xb9\x3c\xd2\x1e\x60\xff\xe8\x7c\xff\x8c\x0a\x51\x45\x18\x21\xd7\x90\x9a\xe8\x60\x63\x90\x3a\x0f\xea\x81\xb4\x8a\x7a\x4b\xda\x61\x34\x98\x5a\x9b\x50\xa7\x2a\x08\x6c\x00\x33\xe4\x17\x01\xf6\x34\x18\x54\xd6\xee\x69\x70\x9e\x36\xd6\x75\xca\x92\x75\x5a\x59\x32\x03\x19\xd4\x76\xea\x81\xa6\x60\x70\x43\x1e\xbe\x4c\xc6\x03\x8d\x4a\x7b\x47\x3b\x6f\x30\x5a\x24\x0f\x71\xf2\x48\xd1\xef\x29\x1d\x28\x3d\x6e\x8d\x05\x1a\x5d\x3f\xd9\xb3\x51\xf6\xa0\x9d\x57\xd1\xf9\xd7\x93\x58\x66\x66\xc3\xf8\xc7\x93\x41\x1e\xbd\x6e\x07\x27\xd6\xb0\x1f\x3b\x67\x97\xcf\x72\x9a\x64\xbd\xa8\x6e\xe8\xdd\xff\x6f\xdf\xbf\xf9\xb9\x92\x94\xc6\xa1\xb0\x27\x74\x91\x9c\x27\x13\xc8\xe0\x69\x39\x3b\xe5\x01\xe3\x16\x02\x9c\x41\x3b\xaf\xf4\x03\xc4\xd0\x30\x3e\x6f\xe7\xe5\xf7\x1f\x89\xd6\x92\x10\xb2\x3c\xba\x71\x1a\x3b\xf0\xaf\x36\xea\x20\x1f\x8e\xa3\xbd\xad\xef\xe4\x22\xe7\x3c\x0f\x0b\xd1\x1b\xdc\xa4\x30\x3e\x17\x42\x88\x25\xb5\x2b\xc1\x65\x59\x09\x4e\xc5\x8b\x52\xc8\xb2\x2a\xf8\xd3\x2e\x5f\x72\xb7\x85\x4c\x51\x55\xbb\x4a\x16\xd9\x16\xf2\xaf\xd1\x82\xcb\x9c\x26\xc7\xcb\xf4\xf9\xc7\xca\x9e\xfa\x64\x69\xc5\x7c\x5e\xaf\xfc\xf0\x17\x1d\xb0\xbf\xa0\x1e\xae\x1f\x6b\xe5\x3f\x73\x8b\xa2\x38\x87\x9e\x48\x17\x88\x63\xde\xf8\x57\xa4\xab\x73\xce\xf5\x25\xca\xaf\x00\x00\x00\xff\xff\xfd\x7f\x86\x7c\x79\x04\x00\x00")
func runtimeSyntaxJuliaYamlBytes() ([]byte, error) {
return bindataRead(

View file

@ -23,6 +23,8 @@ rules:
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- constant.string:
start: "\"\"\""
end: "\"\"\""
@ -33,20 +35,6 @@ rules:
end: "'''"
rules: []
- constant.string:
start: "\""
end: "\""
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"