This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fdump-ast-original and strg:
- From: Tim Hollebeek <tim at hollebeek dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: Florian Krohm <florian at edamail dot fishkill dot ibm dot com>, Guillaume <guillaume dot thouvenin at polymtl dot ca>, Joe Buck <jbuck at synopsys dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 18:07:15 -0500
- Subject: Re: fdump-ast-original and strg:
- References: <01113013120701.01459@warp9.fishkill.ibm.com> <6F64E8B2-E5BF-11D5-9EC7-003065C86F94@apple.com>
- Reply-to: tim at hollebeek dot com
> On Friday, November 30, 2001, at 10:12 AM, Florian Krohm wrote:
>
> > I'm afraid, things are even a bit more complex.
> > Consider a string containing two characters, the first
> > of which contains the bit pattern 00001010. The second
> > character is '2'. If you want to recover the original
> > representation for that string you will have to use a
> > string concatenation e.g. "\12" "2" or "\x6" "2".
> > Note that you cannot write "\122" as that would specify
> > only a single character.
>
> "\0122" works.
I believe you can also use "\12\2".