| delorie.com/archives/browse.cgi | search |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: undefined reference to `yyerror' |
| Date: | 18 Jan 2001 12:58:21 GMT |
| Organization: | Aachen University of Technology (RWTH) |
| Lines: | 16 |
| Message-ID: | <946p9d$jdt$1@nets3.rz.RWTH-Aachen.DE> |
| References: | <yf996.5864$pY3 DOT 197907 AT weber DOT videotron DOT net> |
| NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
| X-Trace: | nets3.rz.RWTH-Aachen.DE 979822701 19901 137.226.32.75 (18 Jan 2001 12:58:21 GMT) |
| X-Complaints-To: | abuse AT rwth-aachen DOT de |
| NNTP-Posting-Date: | 18 Jan 2001 12:58:21 GMT |
| Originator: | broeker@ |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Xavier Robitaille <xavier DOT robitaille AT videotron DOT ca> wrote: > and I get a linker : undefined reference to `yyerror' [...] Bison, unlike Yacc, does not provide a yyerror() function in some 'liby.a'. You have to write your own one. The Bison manual has a simplistic example implementation for you. A .y source with its own yyerror() definition will work in both Yacc and Bison, so this difference in behaviour shouldn't cause much harm. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |