public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Doug Evans <dje@sebabeach.org>
To: cgen@sourceware.org
Subject: const locals, initial values?
Date: Fri, 28 Aug 2009 14:35:00 -0000	[thread overview]
Message-ID: <4A97EB14.80400@sebabeach.org> (raw)

Not that this needs to be added any time soon (if ever), but to get the 
thought down on paper, sometimes I wonder about extending the syntax for 
sequence locals to

([(option list)] MODE variable-name [initial-value])

e.g.

(sequence ((INT x 0) ((const) INT y expr))
                 ...
)

Some purists might wish that initial-value had been there from the 
beginning, I'm not sure why I didn't do it that way, but oh well.

                 reply	other threads:[~2009-08-28 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A97EB14.80400@sebabeach.org \
    --to=dje@sebabeach.org \
    --cc=cgen@sourceware.org \
    /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).