public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: Adjust for libcpp/lex.c changes.
Date: Mon, 29 Jun 2026 12:24:11 GMT [thread overview]
Message-ID: <178273585136.1.9932932354244975932.rpms-gcc-da33c910e985@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : da33c910e985417fb41738ccdec64b14b449eddd
Author : Jakub Jelinek <jakub@fedoraproject.org>
Date : 2009-03-04T15:06:35+00:00
Stats : +9/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/da33c910e985417fb41738ccdec64b14b449eddd?branch=rhel-f41-base
Log:
Adjust for libcpp/lex.c changes.
---
diff --git a/gcc44-raw-string.patch b/gcc44-raw-string.patch
index b1edad1..ecc5c5d 100644
--- a/gcc44-raw-string.patch
+++ b/gcc44-raw-string.patch
@@ -177,7 +177,7 @@
--- libcpp/lex.c.jj 2008-09-05 12:59:49.000000000 +0200
+++ libcpp/lex.c 2008-09-12 13:54:01.000000000 +0200
-@@ -609,10 +609,185 @@ create_literal (cpp_reader *pfile, cpp_t
+@@ -610,12 +610,186 @@ create_literal (cpp_reader *pfile, cpp_t
token->val.str.text = dest;
}
@@ -358,14 +358,17 @@
/* Lexes a string, character constant, or angle-bracketed header file
name. The stored string contains the spelling, including opening
- quote and leading any leading 'L', 'u' or 'U'. It returns the type
-- of the literal, or CPP_OTHER if it was not properly terminated.
+- of the literal, or CPP_OTHER if it was not properly terminated, or
+- CPP_LESS for an unterminated header name which must be relexed as
+- normal tokens.
+ quote and any leading 'L', 'u', 'U' or 'u8' and optional
+ 'R' modifier. It returns the type of the literal, or CPP_OTHER
-+ if it was not properly terminated.
++ if it was not properly terminated, or CPP_LESS for an unterminated
++ header name which must be relexed as normal tokens.
The spelling is NUL-terminated, but it is not guaranteed that this
is the first NUL since embedded NULs are preserved. */
-@@ -626,12 +801,24 @@ lex_string (cpp_reader *pfile, cpp_token
+@@ -629,12 +803,24 @@ lex_string (cpp_reader *pfile, cpp_token
cur = base;
terminator = *cur++;
@@ -393,7 +396,7 @@
else if (terminator == '\'')
type = (*base == 'L' ? CPP_WCHAR :
*base == 'U' ? CPP_CHAR32 :
-@@ -1035,10 +1222,20 @@ _cpp_lex_direct (cpp_reader *pfile)
+@@ -1094,10 +1280,20 @@ _cpp_lex_direct (cpp_reader *pfile)
case 'L':
case 'u':
case 'U':
@@ -415,7 +418,7 @@
{
lex_string (pfile, result, buffer->cur - 1);
break;
-@@ -1054,7 +1251,7 @@ _cpp_lex_direct (cpp_reader *pfile)
+@@ -1113,7 +1309,7 @@ _cpp_lex_direct (cpp_reader *pfile)
case 'y': case 'z':
case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
case 'G': case 'H': case 'I': case 'J': case 'K':
reply other threads:[~2026-06-29 12:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273585136.1.9932932354244975932.rpms-gcc-da33c910e985@fedoraproject.org \
--to=jakub@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox