This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fdump-ast-original and strg:
- From: Dale Johannesen <dalej at apple dot com>
- To: Florian Krohm <florian at edamail dot fishkill dot ibm dot com>
- Cc: Dale Johannesen <dalej at apple 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 10:24:04 -0800
- Subject: Re: fdump-ast-original and strg:
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.