At 10:48 PM 6/8/99 -0700, you wrote: >On Tue, Jun 08, 1999 at 10:57:46AM -0400, James Grosbach wrote: >> brace isn't necessary, though. And the ';' after the function body's >> closing brace is a syntax error, albeit one that most compilers will ignore. > >No, it's not a syntax error, it's a legal empty declaration. Empty declarations are not legal according to the ANSI specification. Section 3.5 says "A declaration shall declare at least a declarator, a tag, or the members of an enumeration." An empty declaration does none of these. The upcoming C9X (looking more like it'll be C0X...) standard maintains this language. It's a common extension, however, and probably a good one. I think that it's a fairly silly restriction on the part of the ANSI/ISO committees, really. Jim James Grosbach Development Systems Microchip Technology james.grosbach@microchip.com