[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [bug #43970] Incorrect "warning: unterminated string liter
From: |
Daiki Ueno |
Subject: |
[bug-gettext] [bug #43970] Incorrect "warning: unterminated string literal" for some C++11 raw strings |
Date: |
Sun, 11 Jan 2015 08:31:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.3.0 |
Update of bug #43970 (project gettext):
Status: None => Confirmed
Assigned to: None => ueno
_______________________________________________________
Follow-up Comment #1:
Thanks for the report. Yes, there are a couple of problems in the raw string
scanner: determining the end of a raw string, and handling escape sequences
differently from ordinary strings.
I'm attaching a patch to those, but I'm concerned that this change might
introduce an incompatibility with C code based on the older standard (e.g. LR
is defined as an ordinary C identifier). Perhaps we should add a new language
tag, like xgettext -L C++11, to toggle this feature.
(file #32804)
_______________________________________________________
Additional Item Attachment:
File name: 0001-c-Make-C-11-raw-string-recognition-stricter.patch Size:7 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43970>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/