Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!phri!dasys1!jsb From: jsb@dasys1.UUCP Newsgroups: comp.lang.c Subject: scope of struct tags Message-ID: <2135@dasys1.UUCP> Date: Wed, 2-Dec-87 22:25:32 EST Article-I.D.: dasys1.2135 Posted: Wed Dec 2 22:25:32 1987 Date-Received: Sun, 6-Dec-87 15:33:35 EST Organization: The Big Electric Cat Lines: 17 Keywords: c structures scope bog pcc cc on the 3b5 allows one to redefine a structure tag within a structure: i.e. it allows such as: struct x{ int a; char b; struct x{char *c; }d; }e; Is this a bug (as I believe) or a feature? It's clearly non-ANSI. The question is was this intentional? -- Jim Baumbach {uunet}!mstan\ Big Electric Cat Public Unix {bellcore,cmcl2}!cucard!dasys1!jsb New York, NY, USA {sun}!hoptoad/ or uunet!actnyc!fred!jsb