diff options
author | sherbst <herbst.sawyer@gmail.com> | 2020-11-07 08:58:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-07 15:58:49 +0100 |
commit | 552075d10ea579a40216843815d419261d327c03 (patch) | |
tree | e5aefbf121cc60e4fec935056990a10d628bdc9a /compiler | |
parent | c07807bedf1749fa9d3e826d3d736907fefbe568 (diff) | |
download | Nim-552075d10ea579a40216843815d419261d327c03.tar.gz |
Fix typo in lexer.nim (#15876)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/lexer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/lexer.nim b/compiler/lexer.nim index e020236b1..b55dd3585 100644 --- a/compiler/lexer.nim +++ b/compiler/lexer.nim @@ -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. |