projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2affd
)
Update textmate syntax file
author
Jacques Pienaar
<jpienaar@google.com>
Tue, 12 Nov 2019 17:30:08 +0000
(09:30 -0800)
committer
A. Unique TensorFlower
<gardener@tensorflow.org>
Tue, 12 Nov 2019 17:30:41 +0000
(09:30 -0800)
Allow comments in more places and fix function params.
PiperOrigin-RevId:
279986797
mlir/utils/textmate/mlir.json
patch
|
blob
|
history
diff --git
a/mlir/utils/textmate/mlir.json
b/mlir/utils/textmate/mlir.json
index
a7d4690
..
bc9c18b
100644
(file)
--- a/
mlir/utils/textmate/mlir.json
+++ b/
mlir/utils/textmate/mlir.json
@@
-105,6
+105,9
@@
},
"patterns" : [
{
+ "include" : "#comment"
+ },
+ {
"include" : "#branch_target"
},
{
@@
-274,6
+277,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",