Path: utzoo!attcan!uunet!mcsun!unido!gmdzi!wittig From: wittig@gmdzi.UUCP (Georg Wittig) Newsgroups: comp.lang.c++ Subject: Re: yaccable grammars for C and C++ Message-ID: <2140@gmdzi.UUCP> Date: 27 Mar 90 13:12:47 GMT References: <1435@io.UUCP> <1887@awdprime.UUCP> Organization: GMD - The German National Research Centre for Computer Science Lines: 14 I've some problems with your solution. Quick examples: news@awdprime.UUCP (USENET News) writes: ... >#define STRDUP(X) ((char *)strcpy(malloc(strlen(X)+1),X)) what if malloc returns 0 ??? ... >">=" { count(1); return GE; } As far as I know, also "> =" mut return GE. -- Georg Wittig GMD-Z1.BI P.O. Box 1240 D-5205 St. Augustin 1 (West Germany) email: wittig@gmdzi.uucp phone: (+49 2241) 14-2294 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Freedom's just another word for nothing left to lose" (Kris Kristofferson)