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