Select Git revision
cpp.c
-
Arne Goedeke authored
The 'new' syntax for literal strings had these two bugs. 1) Unterminated strings were not correctly handled, resulting in out of bounds reads. Note: cpp_error does not throw, it simply prints an error message. 2) Newlines inside literal strings did not increment the current line number, which resulted in incorrect information in e.g. error messages.
Arne Goedeke authoredThe 'new' syntax for literal strings had these two bugs. 1) Unterminated strings were not correctly handled, resulting in out of bounds reads. Note: cpp_error does not throw, it simply prints an error message. 2) Newlines inside literal strings did not increment the current line number, which resulted in incorrect information in e.g. error messages.