URL:
  <http://savannah.gnu.org/bugs/?43970>

                 Summary: Incorrect "warning: unterminated string literal" for
some C++11 raw strings
                 Project: GNU gettext
            Submitted by: vslavik
            Submitted on: Sat 10 Jan 2015 02:27:48 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I'm filing this bug even though there's #43726 (closed as duplicate), because
I can't figure out how to reopen the bug.

I tested this with the latest xgettext 0.19.4; this is not an issue of missing
C++11 support, but seems to be a problem with handling of quote characters
contained in a raw string. Full reproducible example:

$ cat >x.cpp
LR"(\(\s*['"]([^'"]+)['"]\s*[,)])";
$ xgettext -o- x.cpp 
x.cpp:0: warning: unterminated string literal
$





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43970>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to