Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!lll-winken!llnl!ramius.llnl.gov!rjshaw From: rjshaw@ramius.llnl.gov (Robert Shaw) Newsgroups: comp.lang.c++ Subject: Is there a C++ grammar that will accept ANSI C and/or old-C Message-ID: <802@llnl.LLNL.GOV> Date: 22 Mar 91 00:23:26 GMT Sender: news@llnl.LLNL.GOV Reply-To: rjshaw@ramius.llnl.gov (Robert Shaw) Organization: Lawrence Livermore National Laboratory Lines: 18 Hi. Where is the Frequently Asked Questions list for this group? But, since I don't have it yet, I'm going to ask a FAQ. Is C++ gramatically a superset of old-C and/or ANSI C? That is, does there exist an ANSI C or old-C program that is syntactically incorrect C++? I'm asking because I want to know if I can use a C++ grammar to accept old-C and/or ANSI C. Before I get an avalanche of replies: I'm not concerned with semantics such as a function that is missing a prototype, just the syntax. =============================================================================== Rob Shaw rjshaw@ocfmail.llnl.gov ===============================================================================