fix(library/init/lean/parser/parser): typo
This commit is contained in:
parent
12346d344a
commit
1636083cae
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ match tk with
|
|||
| some tk =>
|
||||
-- if a token is both a symbol and a valid identifier (i.e. a keyword),
|
||||
-- we want it to be recognized as a symbol
|
||||
tk.val.bsize ≥ idStopPos - idStopPos
|
||||
tk.val.bsize ≥ idStopPos - idStartPos
|
||||
|
||||
def mkTokenAndFixPos (startPos : Nat) (tk : Option TokenConfig) : BasicParserFn :=
|
||||
fun c s =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue