fix: workaround for term parser antiquotation issue
@Kha this is a temporary workaround. We should discuss how to cleanup in the next Dev meeting.
This commit is contained in:
parent
642850efb2
commit
0be31c14ec
1 changed files with 4 additions and 1 deletions
|
|
@ -1767,7 +1767,10 @@ private def catNameToString : Name → String
|
|||
| n => n.toString
|
||||
|
||||
def categoryParserFnImpl (catName : Name) : ParserFn leading :=
|
||||
orelseFn (mkAntiquot (catNameToString catName) none false).fn (categoryParserFnImplAux catName)
|
||||
if catName != `term then
|
||||
orelseFn (mkAntiquot (catNameToString catName) none false).fn (categoryParserFnImplAux catName)
|
||||
else
|
||||
categoryParserFnImplAux catName
|
||||
|
||||
@[init] def setCategoryParserFnRef : IO Unit :=
|
||||
categoryParserFnRef.set categoryParserFnImpl
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue