fix(library/init/lean/parser/parser): typo startPart ==> startPos
This commit is contained in:
parent
0c4708ad28
commit
260ea04add
1 changed files with 2 additions and 2 deletions
|
|
@ -726,7 +726,7 @@ match tk with
|
|||
|
||||
def mkIdResult (startPos : Nat) (tk : Option TokenConfig) (val : Name) : BasicParserFn :=
|
||||
fun c s =>
|
||||
let stopPos := s.pos;
|
||||
let stopPos := s.pos;
|
||||
if isToken startPos stopPos tk then
|
||||
mkTokenAndFixPos startPos tk c s
|
||||
else
|
||||
|
|
@ -769,7 +769,7 @@ partial def identFnAux (startPos : Nat) (tk : Option TokenConfig) : Name → Bas
|
|||
let s := s.next input s.pos;
|
||||
identFnAux r c s
|
||||
else
|
||||
mkIdResult startPart tk r c s
|
||||
mkIdResult startPos tk r c s
|
||||
else
|
||||
mkTokenAndFixPos startPos tk c s
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue