chore: add doSeqIndent kind
This commit is contained in:
parent
ee830ec293
commit
4e7fd4b4bf
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ namespace Term
|
|||
def leftArrow : Parser := unicodeSymbol " ← " " <- "
|
||||
@[builtinTermParser] def liftMethod := parser!:0 leftArrow >> termParser
|
||||
|
||||
def doSeqIndent := many1Indent $ doElemParser >> optional "; "
|
||||
def doSeqIndent := parser! many1Indent $ doElemParser >> optional "; "
|
||||
def doSeqBracketed := parser! "{" >> withoutPosition (many1 (doElemParser >> optional "; ")) >> "}"
|
||||
def doSeq := doSeqBracketed <|> doSeqIndent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue