Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org, Keith Seitz <keiths@redhat.com>
Subject: Re: [RFC/RFA] Add handling for unqualified Ada operators in linespecs
Date: Tue, 20 Dec 2011 15:30:00 -0000	[thread overview]
Message-ID: <m3pqfjl0yp.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20111217144524.GZ21915@adacore.com> (Joel Brobecker's message of	"Sat, 17 Dec 2011 09:45:24 -0500")

>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> +  p = *argptr;
Joel> +  if (p[0] == '"'
>> 
>> Why only double quotes?

Joel> Because the double quotes are part of the operator name... Eg:

Joel>     function "+" (A, B: My_Type) return My_Type;

I think this could mess with the lexing plans.  The original plan was
for quotes to mean quoting.  This approach means there is a situation
where the quotes are part of the name.

Keith... ?

Tom


  reply	other threads:[~2011-12-20 15:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 21:24 Joel Brobecker
2011-12-16 19:32 ` Tom Tromey
2011-12-16 19:33   ` Doug Evans
2011-12-16 20:09   ` Keith Seitz
2011-12-16 20:35     ` Tom Tromey
2011-12-17 14:55   ` Joel Brobecker
2011-12-20 15:30     ` Tom Tromey [this message]
2011-12-21  6:52       ` Joel Brobecker
2011-12-21  7:41   ` Joel Brobecker

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=m3pqfjl0yp.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=keiths@redhat.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