"C" wish list.

Frank Adams franka at mmintl.UUCP
Mon Nov 4 11:47:03 AEST 1985


In article <264 at mit-eddie.UUCP> jbs at mit-eddie.UUCP (Jeff Siegal) writes:
>Not exactly true.  With the statement separator model (Algol, Pascal),
>one is free on insert or remove semi's at the end of the last statement
>of a block with both forms being syntactically correct.  This does not
>work with the statement terminator model (C).

This only works if the language allows null statements.  Not all of them do.
There are even (broken) Pascal compilers which do not allow it.

Also, this is fine for blocks, but not in some other contexts:

IF a < b THEN
  a := a + 1;
ELSE
  b := b + 1;

Frank Adams                           ihpn4!philabs!pwa-b!mmintl!franka
Multimate International    52 Oakland Ave North    E. Hartford, CT 06108



More information about the Comp.lang.c mailing list