[mlir][PDLL] Tweak the grammar to highlight partial code better
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).
This commit is contained in:
parent
1313f5d307
commit
1febbd67aa
|
@ -27,6 +27,9 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"include": "#pattern"
|
"include": "#pattern"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"include": "#inside_pattern"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue