feat: add unop% term parser
We not to support unary minus at `BinOp.toTree` see #1779
This commit is contained in:
parent
a086d217a5
commit
00ca0dde5c
1 changed files with 2 additions and 0 deletions
|
|
@ -491,6 +491,8 @@ def matchAltsWhereDecls := leading_parser
|
|||
"binop% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec
|
||||
@[builtin_term_parser] def binop_lazy := leading_parser
|
||||
"binop_lazy% " >> ident >> ppSpace >> termParser maxPrec >> termParser maxPrec
|
||||
@[builtin_term_parser] def unop := leading_parser
|
||||
"unop% " >> ident >> ppSpace >> termParser maxPrec
|
||||
|
||||
@[builtin_term_parser] def forInMacro := leading_parser
|
||||
"for_in% " >> termParser maxPrec >> termParser maxPrec >> termParser maxPrec
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue