From: utzoo!decvax!harpo!ihnp4!ihuxx!ignatz
Newsgroups: net.unix-wizards
Title: Re: C oddity
Article-I.D.: ihuxx.321
Posted: Thu Jan 27 14:59:36 1983
Received: Sun Jan 30 07:51:18 1983
Reply-To: ignatz@ihuxx.UUCP (Dave Ihnat, Chicago, IL)
References: rabbit.1067 spanky.176

in the 'bug' code:

double 	a;
		b,
		c,
		d;

main()
{
		a = b;
}

If you'll look at Kernighan & Ritchie's book, on page 204 (Section 10), it sez:

"	A C program consists of a sequence of external definitions.  An external
definition declares an identifier to have storage class 'extern' (by default)
or perhaps 'static', and a specified type.  The type-specifier (8.2)
***may also be empty,in which case the type is taken to be 'int'.***"
(asterisks mine).

There it is, folks.  You've got a legal, valid type declaration there.
				Blech.

				Dave Ihnat
				ihuxx!ignatz