[Pdx-pm] off-topic: C90 declaration question

Kris Bosland krisb at ring.org
Mon Apr 17 16:53:19 PDT 2006

On Sun, 16 Apr 2006, Marvin Humphrey wrote:

> Here's my question: Can the right hand side of a C90 declaration/
> initialization contain an arbitrarily complex expression?

Well, I won't understand that I know how any given C90 compiler is doing
this under the surface, but if I was given the spec you just described to
implement, I would turn:

	<type> <name> [= initcode]


	space for type
	assign name to type
	push initcode on fifo queue
	<done with vars>
	implement init code from fifo queue


More information about the Pdx-pm-list mailing list