public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* const locals, initial values?
@ 2009-08-28 14:35 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2009-08-28 14:35 UTC (permalink / raw)
  To: cgen

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-28 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28 14:35 const locals, initial values? Doug Evans

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).