Merge pull request #545 from ta2gch/cpp

lambda expression in c++
This commit is contained in:
Zachary Yedidia 2017-02-10 12:43:27 -05:00 committed by GitHub
commit ced7164912
4 changed files with 77 additions and 10 deletions

View file

@ -30,6 +30,7 @@
// runtime/syntax/asciidoc.micro
// runtime/syntax/asm.micro
// runtime/syntax/awk.micro
// runtime/syntax/c++.micro
// runtime/syntax/c.micro
// runtime/syntax/caddyfile.micro
// runtime/syntax/cmake.micro
@ -591,7 +592,7 @@ func runtimePluginsFtoptionsFtoptionsLua() (*asset, error) {
return a, nil
}
var _runtimePluginsLinterLinterLua = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\x51\x6f\xe4\x26\x10\x7e\xdf\x5f\x31\x42\xb5\x84\x13\xdb\x57\xdd\xe3\x4a\x56\x75\x4d\xef\x4e\xad\x2e\x4d\xd4\xa4\xed\x43\xdb\xab\x58\x7b\xec\x25\xc1\x60\x01\xde\xcd\x6a\x75\xff\xbd\x02\x1c\xaf\xed\xf5\x9e\x5a\xa9\x91\xb2\x60\x18\xbe\x6f\xf8\x66\x60\xe0\x15\x7c\x44\x7b\xd7\x5a\xae\x24\x25\x82\x4b\x8b\x9a\xc4\x90\xe7\x20\xb9\x00\xbb\x45\xb9\x02\x00\x78\x57\x96\x33\x9b\x04\xac\xee\x30\x5e\xa1\x2c\x57\xab\x5b\xf6\x8c\x37\xaa\x69\x98\x2c\x83\x01\x49\xa0\x37\xcc\x5c\xd3\xcf\x91\x04\xbe\x8d\x57\xab\xaa\x93\x85\xc3\x82\xd1\x14\x8d\x3d\xcf\x4d\xa7\x7f\xe3\xb8\xa7\xf1\xfa\x81\xed\x90\x56\x4c\x18\x0c\x33\xba\x93\x9f\x3c\x20\xed\x39\x07\x94\xf1\x8c\xb3\x14\xaa\x60\x02\x2a\x0b\xf9\x09\x2e\xfb\xbe\xab\xd6\x1f\xb8\xc0\xc7\x43\x8b\x53\x3b\x2e\x70\x6e\x99\xdd\x33\xbb\x1d\xd9\x94\xb8\x93\x9d\x10\x90\x03\x79\x53\xe2\xee\x8d\xfb\x20\xa3\x79\x8b\x4d\x0b\x39\x28\x93\xd5\x68\x51\xee\x28\x79\xbc\xbd\xff\xe1\xc7\x5f\x48\x20\xe2\x15\xdc\x3d\x38\x49\xc9\x9e\xcb\x52\xed\x0d\x39\x09\xeb\xfe\x46\xf0\x3f\xff\xfa\x89\x0c\xe3\x0b\xb0\xef\x6f\xef\x7b\x50\xa7\x41\x0f\xee\xb6\x9a\x03\xa9\xd5\x0c\xd7\xc9\x4b\x49\xad\x36\x1d\x17\x4e\x7b\x67\x91\xc0\x91\x0c\xdf\xa9\xfb\xee\xd9\xbf\x24\x40\xa2\x6a\x1d\x89\x35\x44\x4d\xcf\x31\x06\x79\x8d\xea\xd0\x3b\x9e\x4b\x76\xc2\x88\xca\xeb\x11\x0e\x0a\x83\x27\x3f\x45\xc7\x16\x1d\x15\x1d\x2b\xb6\x58\x3c\xfb\xdc\x39\xf5\x8f\x24\x4d\xa5\x4a\x0b\x25\x94\xcb\x3a\x17\xaf\x7f\xc7\xd3\x1e\xec\x56\xc9\x45\xaa\xf6\x50\x09\xf6\x8c\xc6\x51\x8d\xfa\xc7\x29\x78\x96\xae\xbf\x5b\x12\xa3\x39\xb4\x07\xb7\xb2\x6f\x67\xab\x96\x56\xb4\x87\x57\xf9\x86\x9e\xdb\x96\xea\x6c\xdb\xd9\xb4\x52\xba\x61\x36\x6f\x99\x36\xc8\x36\x02\x7d\x68\x52\x8d\xad\xd2\xd6\xe4\x52\x9d\xed\xfa\xd2\x8e\x8b\xe5\x04\x28\x0a\x1f\x38\xdf\x1c\x49\x5a\x99\x83\xb4\xec\x25\x55\x52\xf8\x6d\xa4\xbf\x33\x21\x42\x07\x5f\xac\x66\x8b\x22\x67\x97\x75\x36\x7b\x5e\xd9\x45\x66\xb3\xe7\xb6\xf2\xe4\x2f\x85\xee\xa4\xa7\xf7\xd6\xc5\x7f\xe5\xb8\xdb\x3c\x61\x61\xf9\x0e\xd3\x9b\x45\xa6\x42\x30\x59\x4f\x89\x86\xa1\xff\x7d\xc3\xe5\xa2\x0b\x65\xe3\xcf\x54\x68\x8e\x24\x24\x6c\xae\xaa\x2a\x9c\xb4\xd4\x37\xfb\xf0\xcb\x7d\x33\x55\x21\xa2\x91\x88\xe2\xaf\xf1\x3e\xb1\xdd\xf2\xc9\x71\x13\x5e\xe6\xd7\xce\x91\xa4\xce\x0b\x77\x81\x9c\xe5\x0e\x6a\xad\xf4\x57\x39\x4c\xa1\x79\xbb\x1c\xd1\x27\xb3\xed\x13\x79\xe8\x8d\xd3\xdf\x59\x21\x44\x22\xc9\xae\x93\x4b\x0c\x92\x37\x8b\xd0\x6e\x3c\x81\xbe\x39\x92\xe1\x2a\x48\x53\xc1\x8d\xfd\xd0\x09\xe1\xae\x18\x13\x86\x8c\x2d\x55\x67\x43\xdf\xf9\x61\xd6\x41\xe8\x93\x2f\x59\x24\x12\x88\xca\xeb\x6c\xe4\x87\x2c\x67\xa5\x43\x49\x5f\x66\x76\x1c\xf7\xc3\x55\xbd\x54\x0e\x27\xee\xce\xeb\x8d\xdb\xde\x30\x79\x2a\x60\x37\x02\x99\x7e\x27\xc4\xc7\xce\x5a\xd4\xb7\x68\x0c\xab\xd1\xd0\x4b\xae\x78\x11\x02\x61\x02\x45\x53\x26\xc0\x74\x6d\x92\x10\xae\x70\x43\xcc\x4b\xa4\x67\x98\xc1\x07\x84\x78\xe5\x4d\x7f\x52\x9b\x87\x96\xed\x25\x1d\xe1\x11\xd2\xff\xf7\xe5\x59\xc9\xf7\x2f\xdc\x29\xf9\xca\x3d\x21\x9c\xcb\xe5\x6c\x69\xb8\xb6\x2e\xac\x38\x55\x45\x97\x0b\x06\x72\x30\xad\x18\x2d\x22\x7f\x4a\xd2\xbb\x17\xcc\x34\xd6\xf8\x02\xf9\x18\x65\x5d\x9b\x6e\x43\x49\x14\xf9\xb3\x43\xb3\x2c\x8d\x49\x3c\x0c\xfa\xa3\x4b\xa3\xf2\x7a\x3c\xd8\x04\x4b\x37\xe6\xb1\x2b\xa5\xe1\xef\xc4\xa7\x23\x97\xc0\x5b\xc6\xb5\x17\x07\x4d\x0c\xa5\x1a\xc2\x95\xa6\xf0\xa8\x79\x03\xfb\x2d\xb7\x68\x5a\x56\xe0\x38\x2b\xdd\xc3\xc0\x35\xeb\x86\xd9\x62\x4b\xc9\xe7\xc8\x5c\x39\x8e\xc8\x5c\x7d\x33\xba\xe3\x79\x05\xc6\x6a\x2e\xeb\xac\xe2\xb2\xf4\x2c\x49\xd8\xd6\x2c\x73\x60\xf2\xea\xf0\x02\x62\x02\x8d\xa9\x9d\x4a\x01\x21\x30\x8d\x21\x26\xab\x79\x05\x1b\x66\x50\xb2\x06\xe9\x79\xfd\xf5\xef\xb6\x61\xde\x71\x2c\x38\x30\xcd\xa1\x49\xfa\x0c\xf9\x67\x95\xec\x9a\x0d\x6a\xef\x48\xec\x5d\x4c\xe0\xed\xd4\x95\xd7\x07\xc8\xb8\x7f\x9e\xd6\x21\xf8\xc6\xea\x04\x0c\xb6\xf1\x24\xee\xa6\x13\xee\x91\x76\xfc\xb2\x90\x0d\x94\xd0\x3f\x3e\x47\xe6\x2f\x1f\xe4\x90\x15\x74\x00\x70\xc1\x45\x56\x6c\x5d\x68\x8d\xd5\xeb\x3a\xa8\xd6\x4b\x3e\x0a\xaf\x75\xe5\x34\xe3\xd2\xa0\xb6\x34\x10\x26\x7e\xe5\xf4\x0d\xa5\xd1\x76\x5a\xf6\x1e\xcd\x36\x30\x95\x73\xe4\xa9\x1b\x3c\xc5\xcd\xe7\x61\x88\x2a\xa1\xd9\xd5\x9b\x98\x66\x57\xb1\xcb\xc9\xe8\x6d\x9f\x29\x3d\x89\x5b\xe6\x29\xfe\x09\x00\x00\xff\xff\xe6\x7e\x28\x6b\x7a\x0b\x00\x00")
var _runtimePluginsLinterLinterLua = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xa4\x56\xdf\x6f\xdb\x36\x10\x7e\x8e\xff\x8a\x03\x31\x01\x52\x2c\x29\x5b\xb1\x27\x03\xc2\xd0\x65\x6d\xb1\xa1\x59\x82\x25\xdb\x1e\xb6\x75\xa0\xa5\x93\xcc\x84\x22\x05\x92\xb2\x63\x18\xfd\xdf\x07\x92\xb2\x2c\xc9\x4a\xd0\xa1\x01\x62\x52\xe4\xf1\xfb\xee\xbe\x3b\xfe\x60\x25\x7c\x40\x73\xdb\x18\x26\x45\x48\x38\x13\x06\x15\x89\x20\xcb\x40\x30\x0e\x66\x83\x62\x01\x00\xf0\xb6\x28\x26\x36\x31\x18\xd5\x62\xb4\x40\x51\x2c\x16\x37\xf4\x09\xaf\x65\x5d\x53\x51\x78\x03\x12\x43\x67\x98\xda\xa6\x9b\x23\x31\x7c\x1b\x2d\x16\x65\x2b\x72\x8b\x05\x83\xa9\x30\x72\x3c\xd7\xad\xfa\x83\xe1\x2e\x8c\x56\xf7\x74\x8b\x61\x49\xb9\x46\x3f\xa3\x5a\xf1\xd1\x01\x86\x1d\x67\x8f\x32\x9c\xb1\x96\x5c\xe6\x94\x43\x69\x20\x3b\xc1\xa5\x3f\xb6\xe5\xea\x3d\xe3\xf8\xb0\x6f\x70\x6c\xc7\x38\x4e\x2d\xd3\x3b\x6a\x36\x03\x9b\x02\xb7\xa2\xe5\x1c\x32\x20\x57\x05\x6e\xaf\xec\x07\x19\xcc\x1b\xac\x1b\xc8\x40\xea\xb4\x42\x83\x62\x1b\x92\x87\x9b\xbb\x9f\x7e\xfe\x8d\x78\x22\x56\xc2\xed\xbd\x95\x94\xec\x98\x28\xe4\x4e\x93\x93\xb0\xf6\x6f\x00\xff\xeb\xef\x1f\x49\x3f\x3e\x03\xfb\xee\xe6\xae\x03\xb5\x1a\x74\xe0\x36\xd4\x0c\x48\x25\x27\xb8\x56\xde\x90\x54\x72\xdd\x32\x6e\xb5\xb7\x16\x31\x1c\x48\xff\x9d\xd8\xef\x8e\xfd\x73\x0c\x24\x28\x57\x01\x5f\x41\x50\x77\x1c\x43\x90\x63\x56\xfb\xde\xe1\x5c\xb2\x13\x46\x50\x2c\x07\x38\xc8\x35\x9e\xfc\xe4\x2d\x9d\x75\x94\xb7\x34\xdf\x60\xfe\xe4\x6a\xe7\xd4\x3f\x90\x24\x11\x32\xc9\x25\x97\xb6\xea\x6c\xbe\xbe\x8c\xa7\xd9\x9b\x8d\x14\xb3\x54\xcd\xbe\xe4\xf4\x09\xb5\xa5\x1a\xf4\x0f\x63\xf0\x34\x59\xfd\x30\x27\x46\xbd\x6f\xf6\x76\x65\xd7\x4e\x56\xcd\xad\x68\xf6\x47\xf9\xfa\x9e\x0d\x4b\xb6\xa6\x69\x4d\x52\x4a\x55\x53\x93\x35\x54\x69\xa4\x6b\x8e\x2e\x35\x89\xc2\x46\x2a\xa3\x33\x21\xcf\xa2\x7e\x29\xe2\x7c\xbe\x00\xf2\xdc\x25\xce\x35\x07\x92\x94\x7a\x2f\x0c\x7d\x4e\xa4\xe0\x2e\x8c\xe4\x4f\xca\xb9\xef\xe0\xb3\x51\x74\x56\xe4\xf4\xa8\xf3\xc5\x84\x72\xb9\x1c\x93\x7e\x09\x27\x49\xb4\x29\xb2\x7c\xb9\xfc\xee\xfb\xff\xed\xc0\xc5\xc5\x4c\xe0\x7a\xc7\x4a\x33\x1b\xbc\xde\x31\x53\x3a\x5f\x9e\x73\xd5\x0a\xe7\x8d\xb3\xce\x5f\x0f\xf3\x9c\xe3\x76\xfd\x88\xb9\x61\x5b\x4c\xae\x67\x99\x72\x4e\x45\x35\x26\xea\x87\xbe\x52\xf3\x73\x67\x8a\x59\x17\x8a\xda\x6d\x6b\xdf\x1c\x88\xdf\x33\x99\x2c\x4b\xbf\xd9\x13\xd7\xec\xfc\x2f\x73\xcd\x58\x85\x20\x0c\x78\x10\xbd\xc6\xfb\x48\xb7\xf3\x9b\xd7\x4e\x38\x99\x8f\x9d\x03\x49\xac\x17\xf6\x0c\x3b\x2b\x5f\x54\x4a\xaa\x57\x39\x74\xae\x58\x33\x9f\xd1\x47\xbd\xe9\xf6\x52\xdf\x1b\xee\x40\x6b\x85\x10\xf0\x38\x5d\xc6\x2f\x31\x08\x56\xcf\x42\xdb\xf1\x18\xba\xe6\x40\xfa\xd3\x28\x49\x38\xd3\xe6\x7d\xcb\xb9\x3d\xe5\xb4\x1f\xd2\xa6\x90\xad\xf1\x7d\xeb\x87\x5e\x79\xa1\x4f\xbe\xa4\x01\x8f\x21\x28\x96\xe9\xc0\x0f\x51\x4c\x6e\x2f\x29\xdc\x4d\xb7\x65\xb8\xeb\x6f\x8b\xb9\x1b\x79\xe4\xee\xf4\xca\xb3\xe1\xf5\x93\xa7\x3b\xf4\x9a\x23\x55\x6f\x39\xff\xd0\x1a\x83\xea\x06\xb5\xa6\x15\xea\xf0\x25\x57\x9c\x08\x9e\x30\x86\xbc\x2e\x62\xa0\xaa\xd2\xb1\x4f\x97\x3f\xa4\xa6\xb7\xb4\x63\x98\xc0\x7b\x84\x68\xe1\x4c\x7f\x91\xeb\xfb\x86\xee\x44\x38\xc0\x23\xa4\xfb\xef\x5e\x08\x52\xbc\x7b\x66\x56\xc9\x23\xf7\x88\x70\x2a\x97\xb5\x0d\xfd\xc9\xf9\xc2\x8a\xd3\xc5\x6c\x6b\x41\x43\x06\xba\xe1\x83\x45\xe4\x6f\x41\x3a\xf7\xbc\x99\xc2\x0a\x9f\x21\x1b\xa2\xac\x2a\xdd\xae\x43\x12\x04\x6e\xef\x84\x69\x9a\x44\x24\xea\x07\xdd\xd6\x0d\x83\x62\x39\x1c\xac\xbd\xa5\x1d\x73\xd8\xa5\x54\xf0\x6f\xec\xca\x91\x09\x60\x0d\x65\xca\x89\x83\x3a\x82\x42\xf6\xe9\x4a\x12\x78\x50\xac\x86\xdd\x86\x19\xd4\x0d\xcd\x71\x58\x95\xf6\x6d\x62\x9b\x55\x4d\x4d\xbe\x09\xc9\xa7\x40\x5f\x5a\x8e\x40\x5f\x7e\x33\xb8\x66\x58\x09\xda\x28\x26\xaa\xb4\x64\xa2\x70\x2c\xb1\x0f\x6b\x52\x39\x30\x7a\xf8\x38\x01\x31\x86\x5a\x57\x56\x25\x8f\xe0\x99\x86\x10\xa3\xd5\xac\x84\x35\xd5\x28\x68\x8d\xe1\xf9\x13\xc0\x3d\x1d\xfb\x79\xcb\x31\xe3\xc0\xb8\x86\x46\xe5\xd3\xd7\x9f\x91\xa2\xad\xd7\xa8\x9c\x23\x91\x73\x31\x86\x37\x63\x57\x8e\x6f\xa0\x61\xff\xbc\xac\x7d\xf2\xb5\x51\x31\x68\x6c\xa2\x51\xde\x75\xcb\xed\x3b\xf1\xf0\x79\xa6\x1a\x42\x12\xfe\xf5\x29\xd0\xff\xb8\x24\xfb\xaa\x08\x7b\x00\x9b\x5c\xa4\xf9\xc6\xa6\x56\x1b\xb5\xaa\xbc\x6a\x9d\xe4\x83\xf4\x1a\x7b\xa3\xa7\x4c\x68\x54\x26\xf4\x84\xb1\x5b\x39\x7e\xc6\x29\x34\xad\x12\x9d\x47\x93\x00\xc6\x72\x0e\x3c\xb5\x83\xa7\xbc\xb9\x3a\xf4\x59\x25\x61\x7a\x79\x15\x85\xe9\x65\x64\x6b\x32\x78\xd3\x55\x4a\x47\x62\x97\x39\x8a\xff\x02\x00\x00\xff\xff\x3d\x28\x04\xb2\xfd\x0b\x00\x00")
func runtimePluginsLinterLinterLuaBytes() ([]byte, error) {
return bindataRead(
@ -791,12 +792,12 @@ func runtimeSyntaxAwkMicro() (*asset, error) {
return a, nil
}
var _runtimeSyntaxCMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x74\x54\x5b\x8f\xdb\x36\x13\x7d\xf7\xaf\x60\xe8\xfd\x3e\x4b\xde\xb5\xbd\x49\x8a\xb4\x49\x9b\x1a\x85\xd1\x36\x6f\x2d\xda\xa0\x40\x2a\x7a\x0d\x8a\x1a\x49\x83\xa5\x49\x81\x1c\xf9\xd2\x4c\xfe\x7b\x41\x5b\x9b\x3a\x1b\xec\x8b\x41\xcf\xe5\x9c\x33\x17\xcd\x78\x2c\xde\x41\x00\x81\x51\x68\x27\xe0\xa0\xb7\x9d\x05\x51\xfb\x20\x56\x8b\xd5\xf5\xf5\x7c\x34\x1e\x8f\xe2\xd1\x91\x3e\x08\x69\xa4\x90\x6a\x9e\x99\xcc\x70\xd7\xf1\xe1\x90\x2f\x79\x95\x5f\x9d\x8d\x6d\xd6\x7e\x36\xbe\x1b\x8c\x88\xcb\xc1\x5b\x41\x9d\x5f\xc9\x91\xf1\xd6\x07\x81\x15\x38\xc2\x1a\x21\x08\xa9\xca\xe2\xa7\xd9\xdf\x9b\x75\x71\x3b\x7b\x7d\x7a\x5c\xab\x52\x8a\x21\x90\x8e\x1d\xa4\x90\xac\xb6\x5e\x13\x57\xbe\x2f\x2d\x70\xe9\xbd\x65\xd3\xea\xc0\xe8\x88\x63\xeb\x03\xb1\xf5\xae\xe1\x88\xff\x80\xaf\x19\x5c\xbf\xe5\x9d\xc7\x8a\x23\x69\x42\xc3\xc6\xbb\x48\x1c\x29\xf4\x86\xb8\x77\xe8\x1d\x27\xe4\x0a\x6a\x86\x03\x41\x70\x9c\xf5\x2e\x5f\x46\x6c\x1c\x54\x8c\xce\xa2\x83\x5c\x95\xf2\xb1\x8a\x2c\x2e\x13\x45\xce\x59\xd6\x6f\x96\xf9\x12\x1d\x65\xdf\xf1\xf3\x57\xfc\xf2\x05\xbf\xfa\x86\x3b\x0a\x79\x9e\x6f\xe8\xbf\xcc\xc4\x0f\x5b\x70\x74\x4a\x37\x56\xc7\xc8\x4e\x6f\x21\x76\xda\x00\x13\x6c\x3b\xab\x09\xb8\xeb\x4b\x8b\x86\xbb\xe0\x09\x0c\x41\xc5\x5d\xc0\x5d\x72\x24\xe6\x14\xcf\xd4\x62\xe4\x3a\x20\xb8\x8a\x77\x18\xa8\xd7\x96\xfb\x88\xae\xe1\x6d\x4f\x3a\x35\x65\xe7\xad\x26\xb4\xc0\x01\x1a\x8c\x04\x81\xe1\xd0\x59\x34\x48\xf9\x53\x7a\x6a\x1f\x18\x6b\xde\xb7\x29\xad\xf2\x0c\x36\x02\x1b\x1d\x81\x2b\xa8\x75\x6f\x89\xe3\x1e\xc9\xb4\x4f\x02\x50\x38\x32\xb5\xc1\xef\xd9\x68\x32\x2d\xfb\x0e\x82\x26\x1f\xd8\xc1\x9e\x2b\xb0\x40\xf0\x64\x6e\xe3\xc9\xa7\xc1\x10\xba\x1e\xb8\x0c\xa0\xef\x39\x00\xf5\xc1\x5d\xa4\x74\x01\xba\xe0\x8d\x90\x77\x45\xf1\xe6\xd4\xb4\x37\xeb\xf5\x74\x7c\xf9\x27\x6d\x16\x3a\x60\x74\xc6\xf6\x15\xa4\x49\x32\xd6\x6e\x99\x9f\xa6\xeb\x2a\xac\x19\x6c\x86\x35\x47\xc8\x4f\xd5\xea\xe0\x52\xdf\x20\x04\x1f\xf2\x07\xa2\xd3\x86\xe8\x24\x6d\x92\x15\x77\x13\xa5\xd6\x9c\x29\x55\xc8\x89\x2e\x6b\x17\x68\xa7\xd4\x3a\xcf\x27\x52\xc8\x89\x52\x59\x56\xdc\xce\x5e\xae\x97\xc5\xed\xec\xdb\xf5\xc7\xe7\x37\x2f\x3e\x7d\x76\x1d\xce\x5b\xfc\x8b\x9e\xd5\x67\xcf\x44\x8e\xd2\xf7\x33\x1e\x8b\x5f\x57\x2b\x51\xf6\x68\x09\x5d\xfc\xba\x21\x9b\x8d\x26\x0a\x58\xf6\x04\x9b\xcd\x65\x79\x2a\x53\x59\x71\x97\xaf\xa7\x2a\x57\xb9\x4c\x81\x99\xb6\xe7\x3d\xd5\x71\xcb\x03\x22\xb7\x58\x55\xe0\x86\xd5\xe5\x4e\x9b\x7b\xa8\x38\x40\xa4\x80\x86\x38\x82\xa1\x87\xa5\xf7\x35\xef\x41\xdf\xe7\x9b\x4d\x92\xf6\xdb\x30\x31\xb1\x4a\x8a\xbe\xd6\x55\xcc\xdf\x7c\x7f\x73\x3d\xe5\xb7\xcf\xd4\xff\xd6\x52\xc8\x1f\xa4\x90\x3f\x4a\x21\x17\x52\xc8\x99\x14\xf2\xff\x52\x8c\x46\xe3\xdf\x75\x00\x47\x2d\x10\x1a\x6d\x07\xa8\xb1\x38\x83\x6d\x75\x03\x8e\xb4\x90\x45\x96\x7f\xfc\x94\x30\x54\x91\x7e\xd6\x72\xf4\xa8\xf7\x73\xd7\x6f\xcb\xe1\x24\xdc\xce\x5e\x9f\x0f\x81\x54\xe5\xed\x65\x57\x93\xf1\xa1\xa5\x7f\x52\x40\xd7\x88\x16\x9b\xd6\x62\xd3\x12\xba\x66\x2e\xc4\x07\xdf\x8b\x3d\x5a\x2b\xd0\x89\x06\x1c\x04\x6d\xc5\x3e\x8d\xf6\xe8\xfb\x20\xca\x90\x22\x4b\xab\xcd\x7d\xba\x77\x55\xc2\x89\x27\x9c\x28\xc8\x0b\xe3\xb7\x20\xac\x8e\x74\x23\x4a\x30\xba\x8f\x20\x86\xdb\x77\xc9\x22\x42\x6f\x21\x9e\x59\x4a\x48\x10\xba\xeb\x2c\x42\x95\x38\xa9\x05\xe1\x43\x05\x21\xbd\x8e\x42\x07\x10\x01\x74\x72\xcd\x1f\x17\x7c\x26\x16\x52\x66\x4a\xcd\xb9\xb8\x93\xeb\x7c\x2a\xe5\x50\xdd\xfb\x16\xe3\x20\x2d\xdd\xe6\xbf\x7e\xfe\xe3\x83\x08\x10\x7d\x1f\x0c\x08\x74\x04\x2e\xe2\x0e\x9e\x8d\xc6\x03\xe8\x51\xbb\x34\xb9\x40\x6f\xbf\xc0\x53\xea\x72\x9d\xae\xa4\x00\x57\xbd\x95\x77\x5f\x32\x26\xbe\x95\xdf\x9e\x66\x7e\x59\xe8\x67\xc1\x67\x97\x5c\x2c\xe6\x53\xf9\xc8\x38\x70\x2e\xd4\x74\xc0\x56\xd3\xc5\x19\xf1\x7d\xd0\x68\x93\xfc\x7d\x8b\x74\xbe\x79\x0f\x6a\x6f\x9a\x00\xe0\x84\xbc\xd0\x76\x7d\x25\x47\xff\x06\x00\x00\xff\xff\xa4\x4a\x51\xa0\x8c\x06\x00\x00")
var _runtimeSyntaxCMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x74\x54\xef\x6f\xdb\x36\x10\xfd\xee\xbf\x82\xa5\xb3\x45\xb2\x63\x27\x6d\x87\x6e\xed\xd6\x19\x43\xb0\x1f\x1f\x8a\x6d\xd8\xba\x01\x9d\xe4\x18\x14\x75\x92\x0e\xa1\x49\xe1\x78\x8a\xed\xf5\xfa\xbf\x0f\xb4\xdd\xd6\x4d\x97\x2f\x02\x69\xde\xbd\xf7\xee\xee\xf9\xc6\x63\xf5\x0b\x10\x28\x8c\xca\x78\x05\x5b\xb3\xee\x1d\xa8\x26\x90\xba\x9e\x4e\xe7\xa3\xf1\x78\x14\x77\x9e\xcd\x56\x69\x3b\x9d\x6a\xa5\xcb\xb9\xcd\xac\xf4\xbd\x6c\xb7\xf9\xd9\xfe\xde\x65\xdd\x27\x77\xc4\xc5\xe1\x90\xd5\xd0\xe4\x67\x7a\x64\x83\x0b\xa4\xb0\x06\xcf\xd8\x20\x90\xd2\x65\x55\xfc\x30\xfb\x67\xb5\x2c\xae\x66\xcf\xf7\x87\x69\x59\x69\x75\x0c\xe4\x5d\x0f\x29\x24\x33\x03\x07\x69\x5c\x30\x2c\x75\x18\x2a\x07\x52\x85\xe0\xc4\x76\x86\x04\x3d\x4b\xec\x02\xb1\xb8\xe0\x5b\x89\xf8\x2f\x84\x46\xc0\x0f\x6b\xb9\x0b\x58\x4b\x64\xc3\x68\xc5\x06\x1f\xf9\xf0\x85\x6d\x4f\x12\x99\x06\xcb\x32\x78\x0c\x5e\x12\x51\x0d\x8d\xc0\x96\x81\xbc\x64\x83\xcf\x17\x11\x5b\x0f\xb5\xa0\x77\xe8\x21\x2f\x2b\x7d\x5f\x54\x16\x17\x89\x2c\x97\x2c\x1b\x56\x8b\x7c\x81\x9e\xb3\x6f\xe4\xf1\x33\x79\xfa\x44\x9e\x7d\x25\x3d\x53\x9e\xe7\x2b\xfe\x98\x99\x94\xc0\x1a\x3c\xef\xd3\xad\x33\x31\x8a\x37\x6b\x88\xbd\xb1\x20\x0c\xeb\xde\x19\x06\xe9\x87\xca\xa1\x95\x9e\x02\x83\x65\xa8\xa5\x27\xbc\x4b\x0f\x89\x39\xc5\x0b\x77\x18\xa5\x21\x04\x5f\xcb\x1d\x12\x0f\xc6\xc9\x10\xd1\xb7\xb2\x1e\xd8\xa4\xf6\xdc\x05\x67\x18\x1d\x08\x41\x8b\x91\x81\x04\xb6\xbd\x43\x8b\x9c\x3f\xa4\xa7\x09\x24\xd8\xc8\xa6\x4b\x69\x75\x10\x70\x11\xc4\x9a\x08\x52\x43\x63\x06\xc7\x12\x37\xc8\xb6\x7b\x10\x80\x69\x27\xdc\x51\xd8\x88\x35\x6c\x3b\x09\x3d\x90\xe1\x40\xe2\x61\x23\x35\x38\x60\x78\x30\xb7\x0d\x1c\xd2\x70\x18\xfd\x00\x52\x11\x98\x5b\x21\xe0\x81\xfc\x49\x4a\x4f\xd0\x53\xb0\x4a\xdf\x14\xc5\x8b\x7d\xd3\x5e\x2c\x97\x93\xf1\xe9\x25\x19\x0d\x3d\x48\x4f\xa6\x5d\x1b\x41\x6f\xdd\x50\x43\x1a\xa8\x60\xe3\x17\xf9\x7e\xc8\xbe\xc6\x46\xc0\x65\xd8\x48\x84\x7c\x5f\xb4\x21\x9f\xda\x07\x44\x81\xf2\xf7\x7c\x7b\xb3\x98\xa4\xf0\x3c\x2b\x6e\xce\xcb\x72\x29\x59\x59\x16\xfa\xdc\x54\x8d\x27\xbe\x2b\xcb\x65\x9e\x9f\x6b\xa5\xcf\xcb\x32\xcb\x8a\xab\xd9\xd3\xe5\xa2\xb8\x9a\x7d\xbd\x7c\xfb\xf8\xe2\xc9\xbb\x0f\x4f\xdb\x83\xb7\x7f\x32\xb3\xe6\xf0\x72\xae\x47\xe9\xdf\x34\x1e\xab\x9f\xaf\xaf\x55\x35\xa0\x63\xf4\xf1\xf3\xbe\xac\x56\x86\x99\xb0\x1a\x18\x56\xab\xd3\x2a\xcb\xac\xcc\x8a\x9b\x7c\x39\x29\xf3\x32\xd7\x29\x30\x33\xee\x60\x57\x13\xd7\x72\x44\x94\x0e\xeb\x1a\xfc\xd1\xc1\xd2\x1b\x7b\x0b\xb5\x10\x44\x26\xb4\x2c\x11\x2c\xbf\xf7\x7e\x68\x64\x03\xe6\x36\x5f\xad\x92\xb4\xdf\x8e\x83\x53\xd7\x49\xd1\xe7\xba\x8a\xf9\x8b\x6f\x2f\xa6\x13\x79\xf9\xa8\xfc\x62\xa9\x95\xfe\x4e\x2b\xfd\xbd\x56\xfa\x52\x2b\x3d\xd3\x4a\x7f\xa9\xd5\x68\x34\xfe\xdd\x10\x78\xee\x80\xd1\x1a\x77\x84\x1a\xab\x03\xd8\xda\xb4\xe0\xd9\x28\x5d\x64\xf9\xdb\x77\x09\xa3\x2c\xd2\x67\xa9\x47\xf7\x7a\x3f\xf7\xc3\xba\x3a\x2e\x8a\xab\xd9\xf3\xc3\x7a\xd0\x65\x75\x75\xda\xd5\xe9\x47\x8f\xfc\x4f\x5e\xc6\x34\x80\x34\xc6\xc5\xbd\xff\x94\xfe\xf5\xaf\x57\xaf\x3e\x8c\xe0\x4f\x26\xf4\xad\xea\xb0\xed\x1c\xb6\x1d\xa3\x6f\xe7\x4a\xbd\x09\x83\xda\xa0\x73\x0a\xbd\x6a\xc1\x03\x19\xa7\x36\xc9\x0a\xbb\x30\x90\xaa\x28\x45\x56\xce\xd8\xdb\xb4\x2b\xeb\x84\x13\xf7\x38\x51\x71\x50\x36\xac\x41\x39\x13\xf9\x42\x55\x60\xcd\x10\x41\x1d\x37\xe7\x29\x8b\xa2\xc1\x41\x3c\xb0\x54\x90\x20\x4c\xdf\x3b\x84\x3a\x71\x72\x07\x2a\x50\x0d\x94\x4e\x3b\x65\x08\x14\x81\x49\x4f\xf3\xfb\x85\x1e\x88\x95\xd6\x59\x59\xce\xa5\xb8\xd1\xcb\x7c\xa2\xf5\xb1\xba\xd7\x1d\xc6\xa3\xb4\xb4\xd7\xff\xfe\xf1\x8f\x37\x8a\x20\x86\x81\x2c\x28\xf4\x0c\x3e\xe2\x1d\x3c\x1a\x8d\x8f\xa0\x3b\xe3\xd3\xa4\x89\x5f\x7e\x82\x57\x96\xa7\xf6\x3b\xd3\x0a\x7c\xfd\x52\xdf\x7c\xca\x98\xf8\xae\xc3\x7a\xef\x91\xd3\x42\x3f\x08\x3e\x3c\xe9\xcb\xcb\xf9\x44\xdf\xfb\xf1\xc8\x79\x59\x4e\x8e\xd8\xe5\xe4\xf2\x80\xf8\x9a\x0c\xba\x24\x7f\xd3\x21\x1f\x56\xe5\x7b\xb5\x17\x2d\x01\x78\xa5\x4f\xb4\x4d\xcf\xf4\xe8\xbf\x00\x00\x00\xff\xff\x91\x19\xd1\x1c\xc8\x06\x00\x00")
func runtimeSyntaxCMicroBytes() ([]byte, error) {
return bindataRead(
_runtimeSyntaxCMicro,
"runtime/syntax/c.micro",
"runtime/syntax/c++.micro",
)
}
@ -806,6 +807,26 @@ func runtimeSyntaxCMicro() (*asset, error) {
return nil, err
}
info := bindataFileInfo{name: "runtime/syntax/c++.micro", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _runtimeSyntaxCMicro2 = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x74\x54\x61\x6f\xdb\x36\x10\xfd\xee\x5f\xc1\xd2\xd9\x2c\x39\xb1\x93\xb6\x43\xb7\x76\xcb\x8c\xc1\xd8\xd6\x0f\xc5\x36\x6c\xdd\x80\x4e\x74\x0c\x8a\x3a\x49\x87\xd0\xa4\x40\x9e\xe2\x78\xbd\xfe\xf7\x81\xb6\x92\xba\x09\xf2\xc5\xa0\x75\x77\xef\xbd\xbb\x7b\xe4\x78\x2c\xde\x42\x00\x81\x51\x68\x27\xe0\x56\x6f\x3a\x0b\xa2\xf6\x41\x2c\xe7\xa3\xf1\x78\x14\x77\x8e\xf4\xad\x90\x46\x0a\xa9\xe6\x99\xe1\x65\x7e\x72\x38\xb6\xfc\x76\x38\x22\x2e\x86\x6f\x15\xd4\xf9\x89\x1c\x19\x6f\x7d\x10\x58\x81\x23\xac\x11\x82\x90\xaa\x2c\x7e\x9a\xfd\xbb\x5e\x15\x17\xb3\xd7\xfb\xc3\xa9\x2a\xa5\x18\x12\x69\xd7\x41\x4a\xc9\x6a\xeb\x35\x71\xe5\xfb\xd2\x02\x9b\x56\x07\x46\x47\x1c\x5b\x1f\x88\xad\x77\x0d\x47\xfc\x0f\x7c\xcd\xe0\xfa\x0d\xdf\x78\xac\x38\x92\x26\x34\x6c\xbc\x8b\xc4\x91\x42\x6f\x88\x7b\x87\xde\x71\x02\xad\xa0\x66\xb8\x25\x08\x8e\xb3\xde\xe5\x8b\x88\x8d\x83\x8a\xd1\x59\x74\x90\xab\x52\x3e\x14\x90\xc5\x45\xa2\xc8\x39\xcb\xfa\xf5\x22\x5f\xa0\xa3\xec\x3b\x7e\xfe\x8a\x5f\xbe\xe0\x57\xdf\x70\x47\x21\xcf\xf3\x35\x7d\xae\x4c\xfc\xb0\x01\x47\xfb\xf2\x84\xe3\xf4\x06\x78\xd3\x93\x4e\x3d\xdc\x78\xab\x09\x2d\x70\x80\x06\x23\x41\x60\xb8\xed\x2c\x1a\xa4\xfc\x29\x8c\xda\x07\xc6\x9a\xb7\x6d\x2a\xab\x3c\x83\x8d\xc0\x46\x47\xe0\x0a\x6a\xdd\x5b\xe2\xb8\x45\x32\xed\x93\x00\x14\x76\x4c\x6d\xf0\x5b\x36\x9a\x4c\xcb\xbe\x83\xa0\xc9\x07\x76\xb0\xe5\x0a\x2c\x10\x3c\x59\xdb\x78\xf2\x69\x98\x84\xae\x07\x2e\x03\xe8\x6b\x0e\x40\x7d\x70\x47\x25\x5d\x80\x2e\x78\x23\xe4\x55\x51\xbc\x89\x9d\x36\xf0\x66\xb5\x9a\x8e\x8f\xff\x24\x23\xa0\x03\xee\x82\x6e\x36\x9a\xd1\x19\xdb\x57\x90\x96\xc0\x58\xbb\x45\xbe\x5f\x8c\xab\xb0\x66\xb0\x19\xd6\x1c\x21\xdf\x37\xad\x83\x43\xd7\x30\x84\xe0\x43\x7e\xc7\xb7\x5f\xae\x4e\x0a\x27\x59\x71\x35\x51\x6a\xc5\x99\x52\x85\x9c\xe8\xb2\x76\x81\x6e\x94\x5a\xe5\xf9\x44\x0a\x39\x51\x2a\xcb\x8a\x8b\xd9\xcb\xd5\xa2\xb8\x98\x7d\xbb\xfa\xf8\xfc\xec\xc5\xa7\xfb\xd0\xed\xc1\x7b\xbf\xe8\x59\x7d\x88\x4c\xe4\x28\x39\x7c\x3c\x16\xbf\x2e\x97\xa2\xec\xd1\x12\xba\xf8\x78\x2e\xeb\xb5\x26\x0a\x58\xf6\x04\xeb\xf5\x71\x97\x2a\x53\x59\x71\x95\xaf\xa6\x2a\x57\xb9\x4c\x89\x99\xb6\x07\x8b\xe9\xb8\xe1\x01\x91\x5b\xac\x2a\x70\x83\xeb\xb8\xd3\xe6\x1a\x2a\x0e\x10\x29\xa0\x21\x8e\x60\xe8\xce\xaf\xbe\xe6\x2d\xe8\xeb\x7c\xbd\x4e\xd2\x7e\x1f\x16\x27\x96\x49\xd1\x63\x5d\xc5\xfc\xcd\xf7\x67\xa7\x53\xbe\x7c\xa6\xbe\x5a\x49\x21\x7f\x90\x42\xfe\x28\x85\x3c\x97\x42\xce\xa4\x90\x5f\x4b\x31\x1a\x8d\xff\xd0\x01\x1c\xb5\x40\x68\xb4\x1d\xa0\xc6\xe2\x00\xb6\xd1\x0d\x38\xd2\x42\x16\x59\xfe\xf1\x53\xc2\x50\x45\xfa\x59\xc9\xd1\x83\xd9\xcf\x5d\xbf\x29\x87\x8b\x7c\x31\x7b\x7d\xb8\xbe\x52\x95\x17\xc7\x53\x3d\xfd\xec\x91\x47\x75\xbf\xfd\xfd\xee\xdd\xfd\xbc\xff\xa2\x80\xae\x11\x2d\x36\xad\xc5\xa6\x25\x74\xcd\x5c\x88\x0f\xbe\x17\x5b\xb4\x56\xa0\x13\x0d\x38\x08\xda\x8a\x6d\xda\xfb\xce\xf7\x41\x94\x21\x65\x96\x56\x9b\xeb\xf4\x54\x55\x09\x27\xee\x71\xa2\x20\x2f\x8c\xdf\x80\xb0\x3a\xd2\x99\x28\xc1\xe8\x3e\x82\x18\x9e\xae\x63\x16\x11\x7a\x0b\xf1\xc0\x52\x42\x82\xd0\x5d\x67\x11\xaa\xc4\x49\x2d\x08\x1f\x2a\x08\xe9\xb4\x13\x3a\x80\x08\xa0\x53\x68\xfe\xb0\xab\x03\xb1\x90\x32\x53\x6a\xce\xc5\x95\x5c\xe5\x53\x29\x87\xee\xde\xb7\x18\x07\x69\xe9\x59\xfd\xe7\xe7\x3f\x3f\x88\x00\xd1\xf7\xc1\x80\x40\x47\xe0\x22\xde\xc0\xb3\xd1\x78\x00\xdd\x69\x97\xd6\x1a\xe8\xf2\x0b\x3c\xa5\x8e\xbd\x76\x22\x05\xb8\xea\x52\x5e\x7d\xc9\x98\xf8\x96\x7e\xb3\x37\xc4\x71\xa3\xf7\x82\x0f\x21\x79\x7e\x3e\x9f\xca\x07\x1f\x07\xce\x73\x35\x1d\xb0\xd5\xf4\xfc\x80\xf8\x3e\x68\xb4\x49\xfe\xb6\x45\x82\xbd\x86\x3b\xb5\x67\x4d\x00\x70\x42\x1e\x69\x3b\x3d\x91\xa3\xff\x03\x00\x00\xff\xff\xd2\x0e\x6e\x8f\x47\x06\x00\x00")
func runtimeSyntaxCMicro2Bytes() ([]byte, error) {
return bindataRead(
_runtimeSyntaxCMicro2,
"runtime/syntax/c.micro",
)
}
func runtimeSyntaxCMicro2() (*asset, error) {
bytes, err := runtimeSyntaxCMicro2Bytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "runtime/syntax/c.micro", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
@ -2753,7 +2774,8 @@ var _bindata = map[string]func() (*asset, error){
"runtime/syntax/asciidoc.micro": runtimeSyntaxAsciidocMicro,
"runtime/syntax/asm.micro": runtimeSyntaxAsmMicro,
"runtime/syntax/awk.micro": runtimeSyntaxAwkMicro,
"runtime/syntax/c.micro": runtimeSyntaxCMicro,
"runtime/syntax/c++.micro": runtimeSyntaxCMicro,
"runtime/syntax/c.micro": runtimeSyntaxCMicro2,
"runtime/syntax/caddyfile.micro": runtimeSyntaxCaddyfileMicro,
"runtime/syntax/cmake.micro": runtimeSyntaxCmakeMicro,
"runtime/syntax/coffeescript.micro": runtimeSyntaxCoffeescriptMicro,
@ -2933,7 +2955,8 @@ var _bintree = &bintree{nil, map[string]*bintree{
"asciidoc.micro": &bintree{runtimeSyntaxAsciidocMicro, map[string]*bintree{}},
"asm.micro": &bintree{runtimeSyntaxAsmMicro, map[string]*bintree{}},
"awk.micro": &bintree{runtimeSyntaxAwkMicro, map[string]*bintree{}},
"c.micro": &bintree{runtimeSyntaxCMicro, map[string]*bintree{}},
"c++.micro": &bintree{runtimeSyntaxCMicro, map[string]*bintree{}},
"c.micro": &bintree{runtimeSyntaxCMicro2, map[string]*bintree{}},
"caddyfile.micro": &bintree{runtimeSyntaxCaddyfileMicro, map[string]*bintree{}},
"cmake.micro": &bintree{runtimeSyntaxCmakeMicro, map[string]*bintree{}},
"coffeescript.micro": &bintree{runtimeSyntaxCoffeescriptMicro, map[string]*bintree{}},

View file

@ -29,6 +29,8 @@ function runLinter()
lint("pylint", "pylint", {"--output-format=parseable", "--reports=no", file}, "%f:%l: %m")
elseif ft == "c" then
lint("gcc", "gcc", {"-fsyntax-only", "-Wall", "-Wextra", file}, "%f:%l:%d+:.+: %m")
elseif ft == "c++" then
lint("gcc", "gcc", {"-fsyntax-only","-std=c++14", "-Wall", "-Wextra", file}, "%f:%l:%d+:.+: %m")
elseif ft == "swift" then
lint("switfc", "xcrun", {"swiftc", file}, "%f:%l:%d+:.+: %m")
elseif ft == "Objective-C" then

41
runtime/syntax/c++.micro Normal file
View file

@ -0,0 +1,41 @@
## Here is an example for C++.
##
syntax "c++" "\.c(c|pp|xx)$" "\.h(h|pp|xx)$" "\.ii?$" "\.(def)$"
color identifier "\b[A-Z_][0-9A-Z_]+\b"
color type "\b(auto|float|double|bool|char|int|short|long|sizeof|enum|void|static|const|constexpr|struct|union|typedef|extern|(un)?signed|inline)\b"
color type "\b((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\b"
color statement "\b(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\b"
color statement "\b(for|if|while|do|else|case|default|switch)\b"
color statement "\b(try|throw|catch|operator|new|delete)\b"
color statement "\b(goto|continue|break|return)\b"
color preproc "^[[:space:]]*#[[:space:]]*(define|pragma|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
color constant "'([^'\\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
##
## GCC builtins
color statement "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
#Operator Color
color statement "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
#Parenthetical Color
# color magenta "[(){}]" "\[" "\]"
color constant.number "\b[0-9]+\b" "\b0x[0-9A-Fa-f]+\b"
color constant.number "\b(true|false)\b" "NULL"
##
## String highlighting. You will in general want your brightblacks and
## strings to come last, because syntax highlighting rules will be
## applied in the order they are read in.
color constant.string ""(\\.|[^"])*""
##
## This string is VERY resource intensive!
#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
## Comment highlighting
color comment "//.*"
color comment start="/\*" end="\*/"
## Trailing whitespace
#color ,green "[[:space:]]+$"

View file

@ -1,14 +1,14 @@
## Here is an example for C/C++.
## Here is an example for C.
##
syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$"
syntax "c" "\.(c|C)$" "\.(h|H)$" "\.ii?$" "\.(def)$"
color identifier "\b[A-Z_][0-9A-Z_]+\b"
color type "\b(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\b"
color type "\b(float|double|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\b"
color type "\b((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\b"
color statement "\b(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\b"
color statement "\b(typename|mutable|volatile|register|explicit)\b"
color statement "\b(for|if|while|do|else|case|default|switch)\b"
color statement "\b(try|throw|catch|operator|new|delete)\b"
color statement "\b(goto|continue|break|return)\b"
color preproc "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
color preproc "^[[:space:]]*#[[:space:]]*(define|pragma|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
color constant "'([^'\\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
##
@ -22,6 +22,7 @@ color statement "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
# color magenta "[(){}]" "\[" "\]"
color constant.number "\b[0-9]+\b" "\b0x[0-9A-Fa-f]+\b"
color constant.number "NULL"
##
## String highlighting. You will in general want your brightblacks and