Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!apple!rutgers!psuvax1!flee From: flee@shire.cs.psu.edu (Felix Lee) Newsgroups: comp.lang.c Subject: Re: Statement terminators Message-ID: Date: 11 May 89 02:07:10 GMT References: <2296@mit-caf.MIT.EDU>, <13292@lanl.gov> <873@kaiser.UUCP> Sender: news@psuvax1.cs.psu.edu Organization: Penn State University Computer Science Lines: 11 In-reply-to: npl@kaiser.UUCP's message of 10 May 89 17:01:49 GMT In article <873@kaiser.UUCP>, npl@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@shire.cs.psu.edu *!psuvax1!shire!flee