Skip to content
Snippets Groups Projects
Commit 98a45fe8 authored by Ben Franksen's avatar Ben Franksen
Browse files

snc: fixed memory bug in the lexer

When the lexer encountered a new line marker, it freed the old source
file string, leading to bad memory references when the string is used
later in the parser (for errors and warnings), which led to wrong
reported source file names (and potential compiler crashes).
parent beeb8fac
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment