public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: loewis@informatik.hu-berlin.de (Martin v. Löwis)
To: Neil Booth <neil@daikokuya.co.uk>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: Implementing Universal Character Names in identifiers
Date: Fri, 08 Nov 2002 03:51:00 -0000	[thread overview]
Message-ID: <j4heesz3ds.fsf@informatik.hu-berlin.de> (raw)
In-Reply-To: <20021107194030.GA17959@daikokuya.co.uk>

Neil Booth <neil@daikokuya.co.uk> writes:

> I really want this implemented in whatever patch goes in.  It's not
> hard to do; instead of reading chars directly through a pointer,
> call get_effective_char() instead, like the other parts of cpplex.c do.
> It handles skipping the escaped newlines, if any.

That is a complex change. I have to change maybe_read_ucs to use
get_effective_char. Since get_effective_char gets the position from
the reader, I have to remove the char** arguments from maybe_read_ucs.
This, in turn, means that all callers must change their calling
conventions. In particular, cpp_parse_escape cannot use the pstr/limit
approach anymore. However, I cannot see how I can change it, since
it sometimes parses things that do not come from a reader.

I will need further advise before being able to carry out this
change. 

Regards,
Martin

  reply	other threads:[~2002-11-08 11:51 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-27 23:15 Martin v. Löwis
2002-10-27 23:47 ` Fergus Henderson
2002-10-28  0:11   ` Martin v. Löwis
2002-10-27 23:51 ` Zack Weinberg
2002-10-28  0:53   ` Martin v. Löwis
2002-10-28  1:30     ` Fergus Henderson
2002-10-28  2:26     ` Joseph S. Myers
2002-10-28  3:29       ` Martin v. Löwis
2002-10-28 10:39     ` Zack Weinberg
2002-10-28 10:53       ` Joseph S. Myers
2002-10-29  1:39       ` Martin v. Löwis
2002-10-29 12:04       ` Joseph S. Myers
2002-10-31 11:08       ` Tom Tromey
2002-11-01  1:41         ` Martin v. Löwis
2002-11-01 11:17           ` Tom Tromey
2002-11-01 11:57             ` Martin v. Löwis
2002-11-01 14:56               ` Tom Tromey
2002-11-01 14:59                 ` Andrew Pinski
2002-11-03  6:08                   ` Martin v. Löwis
2002-11-03  6:05                 ` Martin v. Löwis
2002-11-10 10:39       ` Neil Booth
2002-11-11  8:36         ` Martin v. Löwis
2002-11-07  0:09 ` Neil Booth
2002-11-07  0:12   ` Neil Booth
2002-11-07  1:01   ` Martin v. Löwis
2002-11-07  1:11     ` Neil Booth
2002-11-07  1:47       ` Martin v. Löwis
2002-11-07 11:40         ` Neil Booth
2002-11-08  3:51           ` Martin v. Löwis [this message]
2002-11-08 11:45             ` Neil Booth

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=j4heesz3ds.fsf@informatik.hu-berlin.de \
    --to=loewis@informatik.hu-berlin.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=neil@daikokuya.co.uk \
    /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).