Fix typo in lexer.nim (#15876)
This commit is contained in:
parent
c07807bedf
commit
552075d10e
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
# This scanner is handwritten for efficiency. I used an elegant buffering
|
# This scanner is handwritten for efficiency. I used an elegant buffering
|
||||||
# scheme which I have not seen anywhere else:
|
# scheme which I have not seen anywhere else:
|
||||||
# We guarantee that a whole line is in the buffer. Thus only when scanning
|
# 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
|
# 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,
|
# 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.
|
# DOS or Macintosh text files, even when it is not the native format.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue