Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!lll-winken!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.std.c Subject: valid program? Message-ID: <2203@solo1.cs.vu.nl> Date: 22 Mar 89 19:02:58 GMT Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 18 #define a()/ #define b()* main() { a()b() is this ANSI conformant? b()a() exit(0); } /* * Doesn't K&R2 say comments are handled in the preprocessing phase? * Our 4.3BSD and SysV cc's accept this program * (/lib/ccom strips comments too). */ -- Modeless editors and strong typing: |Maarten Litmaath @ VU Amsterdam: both for people with weak memories. |maart@cs.vu.nl, mcvax!botter!maart