public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@cygnus.com>
To: Martynas Kunigelis <martynas@nm3.ktu.lt>
Cc: Alan Modra <alan@spri.levels.unisa.edu.au>,
	gcc2@cygnus.com, egcs@cygnus.com, gas2@cygnus.com
Subject: Re: ASM_COMMENT_START and gas divide operator
Date: Thu, 14 May 1998 09:37:00 -0000	[thread overview]
Message-ID: <6525.895163640@hurl.cygnus.com> (raw)
In-Reply-To: <355A9E38.8C82D78B@nm3.ktu.lt>

  In message < 355A9E38.8C82D78B@nm3.ktu.lt >you write:
  > I would suggest hacking gas to treat '/' as the comment _only_ when it
  > is the first character in the line. This does not break gcc/egcs and
  > does not interfere with the division operator or the opcode prefix
  > separator syntax.
Actually I would recommend against that -- I've had the pleasure of
writing a gas port (HPPA) where certain characters had different
meanings depending on their exact placement in a line.  To this day
it still doesn't work 100% correctly -- the grammar is inherently
ambigious.  In my case the character is a '!', and is used in
comparison operations, as a gas built-in operator *and* as a line
continuation character.

jeff

  reply	other threads:[~1998-05-14  9:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-30 22:29 Alan Modra
1998-05-06 18:34 ` Jeffrey A Law
1998-05-07  1:53   ` Andreas Schwab
1998-05-07  3:59     ` Alan Modra
1998-05-07  2:39       ` Andreas Schwab
1998-05-14  0:35 ` Martynas Kunigelis
1998-05-14  9:37   ` Jeffrey A Law [this message]
1998-05-14 10:17     ` Craig Burley
1998-05-14 13:08       ` Jeffrey A Law
1998-05-14 15:07         ` Craig Burley

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=6525.895163640@hurl.cygnus.com \
    --to=law@cygnus.com \
    --cc=alan@spri.levels.unisa.edu.au \
    --cc=egcs@cygnus.com \
    --cc=gas2@cygnus.com \
    --cc=gcc2@cygnus.com \
    --cc=martynas@nm3.ktu.lt \
    /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).