[comp.std.c] Is an empty source file allowed?

diamond@csl.sony.co.jp (Norman Diamond) (09/28/89)

The grammar given in the standard does not permit an empty source
file.  Strangely enough, a preprocessor source file may be empty,
but since it cannot generate a non-empty real source file, error
detection is only delayed.

However, in 2.1.1.2, phase 2, "A source file that is not empty shall
end in a new-line character, ...."  Why the condition "that is not
empty"?  Did the committee intend to allow an empty source file, but
forgot that somewhere along the way?

-- 
Norman Diamond, Sony Corporation (diamond@ws.sony.junet)
  The above opinions are inherited by your machine's init process (pid 1),
  after being disowned and orphaned.  However, if you see this at Waterloo or
  Anterior, then their administrators must have approved of these opinions.