Artifact f51f2ac6e8ceedc0a84f4bf9c1b91c613a63660a:
- File build/tcc-patches/0.9.26/tcc-0.9.26-fixstrayfix.diff — part of check-in [a67fcde598] at 2014-06-21 05:54:10 on branch trunk — Updated to process stray slashes more liberally (user: rkeene, size: 420) [annotate] [blame] [check-ins using]
diff -uNr tcc-0.9.26.orig/tccpp.c tcc-0.9.26-1fixstrayfix/tccpp.c --- tcc-0.9.26.orig/tccpp.c 2013-02-15 08:24:00.000000000 -0600 +++ tcc-0.9.26-1fixstrayfix/tccpp.c 2014-06-21 00:51:00.900011999 -0500 @@ -406,6 +406,10 @@ { while (ch == '\\') { inp(); + if (ch != '\n' && ch != '\r') { + break; + } + if (ch == '\n') { file->line_num++; inp();