fix(library/init/lean/parser/parser): missing result
This commit is contained in:
parent
451ab72eea
commit
89dae7f877
1 changed files with 1 additions and 1 deletions
|
|
@ -910,7 +910,7 @@ def trailingParser (tables : ParsingTables) : ParserFn led :=
|
|||
partial def trailingLoop (tables : ParsingTables) (rbp : Nat) (c : ParserContext) : Syntax → ParserState → ParserState
|
||||
| left s :=
|
||||
let (s, lbp) := currLbp c s in
|
||||
if rbp ≥ lbp then s
|
||||
if rbp ≥ lbp then s.pushSyntax left
|
||||
else
|
||||
let s := trailingParser tables left c s in
|
||||
if s.hasError then s
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue