Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #3309

Mixed declarations and "code"

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Mixed declarations and "code"
Date 2011-05-05 11:11 -0700
Organization None to speak of
Message-ID <ln1v0drp9b.fsf@nuthaus.mib.org> (permalink)

Show all headers | View raw


s5n <sgbeal@googlemail.com> raised this point in comp.lang.c.moderated.

The C99 foreword, in the list of major changes between C90 and C99,
mentions "mixed declarations and code".  The word "code" is ambiguous
and misleading.  The standard doesn't provide a definition for it,
and there are several examples where the word "code" clearly refers
generally to any C source code, including statements, declarations,
and directives.

Suggestion: Change "mixed declarations and code" to "mixed
declarations and statements".

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Mixed declarations and "code" Keith Thompson <kst-u@mib.org> - 2011-05-05 11:11 -0700
  Re: Mixed declarations and "code" Ben Pfaff <blp@cs.stanford.edu> - 2011-05-05 11:21 -0700
    Re: Mixed declarations and "code" Keith Thompson <kst-u@mib.org> - 2011-05-05 11:25 -0700
      Re: Mixed declarations and "code" Uno <merrilljensen@q.com> - 2011-05-08 01:11 -0700

csiph-web