mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 19:03:59 +08:00
[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:
parent
f9810728cf
commit
87463737b9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user