This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

I believe you can also use "\12\2".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]