From: Peter Damianov Date: Sun, 26 May 2024 14:06:14 +0000 (-0600) Subject: [PATCH] libcpp: Correct typo 'r' -> '\r' X-Git-Tag: basepoints/gcc-16~8719 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87463737b9942249ceb0d0d60050adf452f44f7c;p=thirdparty%2Fgcc.git [PATCH] libcpp: Correct typo 'r' -> '\r' libcpp/ChangeLog: * lex.cc (do_peek_prev): Correct typo in argument to __builtin_expect() Signed-off-by: Peter Damianov --- diff --git a/libcpp/lex.cc b/libcpp/lex.cc index c9e44e6cccc..de752bdc9c8 100644 --- a/libcpp/lex.cc +++ b/libcpp/lex.cc @@ -5038,7 +5038,7 @@ do_peek_prev (const unsigned char *peek, const unsigned char *bound) unsigned char c = *--peek; if (__builtin_expect (c == '\n', false) - || __builtin_expect (c == 'r', false)) + || __builtin_expect (c == '\r', false)) { if (peek == bound) return peek;