[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:
River Riddle 2022-05-16 16:37:31 -07:00
parent 1313f5d307
commit 1febbd67aa
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@
},
{
"include": "#pattern"
},
{
"include": "#inside_pattern"
}
],
"repository": {