Update textmate syntax file

Allow comments in more places and fix function params.

PiperOrigin-RevId: 279986797
This commit is contained in:
Jacques Pienaar 2019-11-12 09:30:08 -08:00 committed by A. Unique TensorFlower
parent 0e2affdf59
commit a6fac0aa29
1 changed files with 8 additions and 3 deletions

View File

@ -104,6 +104,9 @@
} }
}, },
"patterns" : [ "patterns" : [
{
"include" : "#comment"
},
{ {
"include" : "#branch_target" "include" : "#branch_target"
}, },
@ -273,6 +276,9 @@
} }
}, },
"patterns" : [ "patterns" : [
{
"include" : "#comment"
},
{ {
"include" : "#attributes" "include" : "#attributes"
}, },
@ -332,8 +338,8 @@
"name" : "meta.attributes.mlir" "name" : "meta.attributes.mlir"
}, },
"function_params" : { "function_params" : {
"end" : ")", "end" : "\\)",
"begin" : "(", "begin" : "\\(",
"patterns" : [ "patterns" : [
{ {
"include" : "#identifier" "include" : "#identifier"
@ -344,7 +350,6 @@
] ]
} }
}, },
"scope" : "mlir",
"patterns" : [ "patterns" : [
{ {
"match" : "\\b(module)\\b", "match" : "\\b(module)\\b",