| delorie.com/archives/browse.cgi | search |
| From: | "Christopher Nelson" <paradox AT gye DOT satnet DOT net> |
| To: | <djgpp AT delorie DOT com> |
| Subject: | Re: Bison and [f]lexical tie-ins |
| Date: | Mon, 12 Jul 1999 09:43:37 -0600 |
| Message-ID: | <01becc7d$4ed4cda0$LocalHost@thendren> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 4.71.1712.3 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.71.1712.3 |
| Reply-To: | djgpp AT delorie DOT com |
>Hmm. So your problem appeared, when you tried to reduce the
>warnings. I'm not sure a C or C++ parser can be made with lex and yacc
>without any reduce warnings.
it can be done with 1 single reduce/reduce if you work hard enough. the
reduce/reduce is caused by a special case with re-typdefing a typedef inside
of a typedef. :-)
i might also mention, you have to REALLY know what you're doing to get it
that clean, though.
-={C}=-
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |