fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) (#18895)

* fix wrong module name

* rephrase more word
This commit is contained in:
flywind 2021-09-25 19:22:00 +08:00 • committed by GitHub
commit 8bdb985395
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -7,12 +7,12 @@
# distribution, for details about the copyright.
#
# This scanner is handwritten for efficiency. I used an elegant buffering
# This lexer 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 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,
# counter; choosing both \n and \r allows the lexer to properly read Unix,
# DOS or Macintosh text files, even when it is not the native format.
import