[Bug translator/17292] multi-line strings broken
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Aug 19 19:17:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=17292
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
No, multi-line strings are not intended to be allowed.
(Consecutive string literals are automatically concatenated,
so one can say
foo("bar\n"
"baz")
See also bug #13371, for a possible reason for the \ case.
The gist is that we don't properly parse the \FOO escape
sequences - we just kid of preserve them for printing again
into the C code. (That already breaks things like a
hypothetical compile-time strlen("\n") == 2.)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list