[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 <peter0x44@disroot.org>
This commit is contained in:
Peter Damianov 2024-05-26 08:06:14 -06:00 committed by Jeff Law
parent f9810728cf
commit 87463737b9

View File

@ -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;