9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] scopes in kencc
@ 2007-04-27  1:12 Joel C. Salomon
  2007-04-27  2:04 ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Joel C. Salomon @ 2007-04-27  1:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm tracing through how the symbol table in kencc is maintained, and
I'm not finding the part where scopes are maintained.

E.g., when the compiler sees the declaration of *t in

	typdef int t;
	t foo;

	struct bar
	{
		int *t;
	};

where is it determined that LNAME is returned when *t is scanned
rather than LTYPE (the way it is returned in the declaration of foo)?

--Joel


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-27  4:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-27  1:12 [9fans] scopes in kencc Joel C. Salomon
2007-04-27  2:04 ` Russ Cox
2007-04-27  2:48   ` Joel C. Salomon
2007-04-27  3:02     ` Russ Cox
2007-04-27  4:35       ` Joel C. Salomon

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 NNTP newsgroup(s).