From 552075d10ea579a40216843815d419261d327c03 Mon Sep 17 00:00:00 2001 From: sherbst Date: Sat, 7 Nov 2020 08:58:49 -0600 Subject: [PATCH] Fix typo in lexer.nim (#15876) --- compiler/lexer.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.