Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!atanasoff!hascall From: hascall@atanasoff.cs.iastate.edu (John Hascall) Newsgroups: comp.lang.c Subject: Re: declaring variable Message-ID: <975@atanasoff.cs.iastate.edu> Date: 11 Apr 89 13:58:39 GMT References: <2585@ssc-vax.UUCP> <16969@cup.portal.com> Reply-To: hascall@atanasoff.cs.iastate.edu (John Hascall) Organization: Iowa State Univ. Computation Center Lines: 32 In article <16969@cup.portal.com> Kevin_P_McCarty@cup.portal.com writes: >--test1.c---------- > double A, > B, > fooY, > fooX, > whelp; > WhatAmI, > AndMoreVariables; To quote from K&R, appendix A, section 8.2, "Type Specifiers": If the type-specifier is missing from a declaration, it is taken to be int. This seems like one "feature" we could afford to lose (IMHO). How, (I'm sure you'll tell me :-), do you (does the compiler) tell: WhatAmI , AndMoreVariables ; | | \ expr. comma expression operator from: WhatAmI , AndMoreVariables ; | | | \ assumed ident comma identifier type int John Hascall / ISU Comp Center