lexer: Keep entire source file in memory.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 22 Nov 2021 19:45:48 +0000 (11:45 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 6 Dec 2021 17:05:31 +0000 (09:05 -0800)
Previously, the lexer tried to keep only part of each source file in
memory, the part that wasn't fully parsed yet.  With this commit, the
lexer holds the entire file in memory, even parts that are no longer
needed.  This should make it easier to produce better error messages.


No differences found