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:
1313f5d
)
[mlir][PDLL] Tweak the grammar to highlight partial code better
author
River Riddle
<riddleriver@gmail.com>
Mon, 16 May 2022 23:37:31 +0000
(16:37 -0700)
committer
River Riddle
<riddleriver@gmail.com>
Mon, 16 May 2022 23:46:13 +0000
(16:46 -0700)
This commit enables proper highlighting when inner statements are
outside of a constraint/pattern/etc. This shouldn't really happen in
actual code, but can happen in documentation (which uses the same
syntax grammar).
mlir/utils/vscode/pdll-grammar.json
patch
|
blob
|
history
diff --git
a/mlir/utils/vscode/pdll-grammar.json
b/mlir/utils/vscode/pdll-grammar.json
index
142d397
..
47c8968
100644
(file)
--- a/
mlir/utils/vscode/pdll-grammar.json
+++ b/
mlir/utils/vscode/pdll-grammar.json
@@
-27,6
+27,9
@@
},
{
"include": "#pattern"
+ },
+ {
+ "include": "#inside_pattern"
}
],
"repository": {