public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tim Hollebeek <tim@hollebeek.com>
To: Dale Johannesen <dalej@apple.com>
Cc: Florian Krohm <florian@edamail.fishkill.ibm.com>,
	Guillaume <guillaume.thouvenin@polymtl.ca>,
	Joe Buck <jbuck@synopsys.com>,
	gcc@gcc.gnu.org
Subject: Re: fdump-ast-original and strg:
Date: Fri, 23 Nov 2001 17:46:00 -0000	[thread overview]
Message-ID: <20011130180715.A25698@cj44686-b.reston1.va.home.com> (raw)
In-Reply-To: <6F64E8B2-E5BF-11D5-9EC7-003065C86F94@apple.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".

WARNING: multiple messages have this Message-ID
From: Tim Hollebeek <tim@hollebeek.com>
To: Dale Johannesen <dalej@apple.com>
Cc: Florian Krohm <florian@edamail.fishkill.ibm.com>,
	Guillaume <guillaume.thouvenin@polymtl.ca>,
	Joe Buck <jbuck@synopsys.com>,
	gcc@gcc.gnu.org
Subject: Re: fdump-ast-original and strg:
Date: Fri, 30 Nov 2001 14:59:00 -0000	[thread overview]
Message-ID: <20011130180715.A25698@cj44686-b.reston1.va.home.com> (raw)
Message-ID: <20011130145900.IoxBrfDELpaH7l-jOLSfv76nyr8Fs4XXV1nzPAfhyNw@z> (raw)
In-Reply-To: <6F64E8B2-E5BF-11D5-9EC7-003065C86F94@apple.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".

  parent reply	other threads:[~2001-11-30 22:59 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22 13:14 Guillaume
2001-11-22 13:14 ` Joe Buck
2001-11-23  8:49   ` Guillaume
2001-11-23  8:52     ` Florian Krohm
2001-11-23 10:56       ` Joe Buck
2001-11-30 10:22         ` Joe Buck
2001-11-23 11:04       ` Dale Johannesen
2001-11-23 16:20         ` TImode ?inhibited? in main 3.1 branch davide.rossetti
2001-11-30 12:31           ` davide.rossetti
2001-11-23 17:46         ` Tim Hollebeek [this message]
2001-11-23 18:26           ` fdump-ast-original and strg: Dale Johannesen
2001-11-30 15:02             ` Dale Johannesen
2001-11-30 14:59           ` Tim Hollebeek
2001-11-30 10:24         ` Dale Johannesen
2001-11-23 11:14       ` Zack Weinberg
2001-11-23 14:13         ` Florian Krohm
2001-11-23 14:42           ` Joe Buck
2001-11-23 23:16             ` Richard Henderson
2001-11-24  3:30               ` Zack Weinberg
2001-11-24  3:38                 ` Richard Henderson
2001-11-30 15:50                   ` Richard Henderson
2001-11-30 15:37                 ` Zack Weinberg
2001-11-30 15:28               ` Richard Henderson
2001-11-30 11:01             ` Joe Buck
2001-11-30 10:54           ` Florian Krohm
2001-11-23 16:40         ` Guillaume
2001-11-30 13:55           ` Guillaume
2001-11-30 10:26         ` Zack Weinberg
2001-11-30 10:12       ` Florian Krohm
2001-11-30  9:54     ` Guillaume
2001-11-29 19:00   ` Joe Buck
2001-11-29 18:46 ` Guillaume
2001-11-24 11:14 mike stump
2001-11-24 12:41 ` Joe Buck
2001-11-30 17:12   ` Joe Buck
2001-11-30 16:59 ` mike stump
2001-11-24 14:37 mike stump
2001-11-24 17:15 ` Joseph S. Myers
2001-11-30 18:35   ` Joseph S. Myers
2001-12-03 14:23   ` Richard Henderson
2001-11-30 17:49 ` mike stump

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011130180715.A25698@cj44686-b.reston1.va.home.com \
    --to=tim@hollebeek.com \
    --cc=dalej@apple.com \
    --cc=florian@edamail.fishkill.ibm.com \
    --cc=gcc@gcc.gnu.org \
    --cc=guillaume.thouvenin@polymtl.ca \
    --cc=jbuck@synopsys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).