From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dale Johannesen To: tim@hollebeek.com Cc: Dale Johannesen , Florian Krohm , Guillaume , Joe Buck , gcc@gcc.gnu.org Subject: Re: fdump-ast-original and strg: Date: Fri, 30 Nov 2001 15:02:00 -0000 Message-ID: <41B3E84C-E5E6-11D5-9EC7-003065C86F94@apple.com> References: <20011130180715.A25698@cj44686-b.reston1.va.home.com> X-SW-Source: 2001-11/msg01651.html Message-ID: <20011130150200.Wcr1Vz8AK5RY2R-6eSXVFOZ2mTKFsRYKP0WKqmo3qc4@z> On Friday, November 30, 2001, at 03:07 PM, Tim Hollebeek wrote: > >> 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". No, that specifies a second character with bit pattern 00000010, which is not '2'.