Fix typo in lexer.nim (#15876)

This commit is contained in:
sherbst
2020-11-07 08:58:49 -06:00
committed by GitHub
parent c07807bedf
commit 552075d10e

View File

@@ -10,7 +10,7 @@
# This scanner is handwritten for efficiency. I used an elegant buffering
# scheme which I have not seen anywhere else:
# We guarantee that a whole line is in the buffer. Thus only when scanning
# the \n or \r character we have to check wether we need to read in the next
# the \n or \r character we have to check whether we need to read in the next
# chunk. (\n or \r already need special handling for incrementing the line
# counter; choosing both \n and \r allows the scanner to properly read Unix,
# DOS or Macintosh text files, even when it is not the native format.