Statement terminators
Felix Lee
flee at shire.cs.psu.edu
Thu May 11 12:07:10 AEST 1989
In article <873 at kaiser.UUCP>,
npl at kaiser.UUCP (N Landsberg) writes:
> for(p=begin;p->p_next;p=p->p_next) /* DO NOTHING */ ;
> { [...] }
>Without the trailing ';' it is unclear whether the block is to be
>executed as part of the loop.
Most languages without explicit statement terminators have a "skip"
statement and disallow null statements.
--
Felix Lee flee at shire.cs.psu.edu *!psuvax1!shire!flee
More information about the Comp.lang.c
mailing list