Re: Hi everyone,
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <[email protected]> |
For a beginner it's hard to find what i've to write, on what documentation should i refer to ? to original bison & flex manual respectiveley ? best regards! On 17.02.19 13:22, [email protected] wrote: > So my Bison and Flex code is out of date ? > > > On 17.02.19 13:04, Uxio Prego wrote: >> Hi, >> review your Makefile, it has errors. Read the Make docs, >> the basic use is: >> >> TARGET: DEPENDENCIES >> ACTIONS_THAT_USE_DEPENDENCIES_TO_UPDATE_TARGET >> >> You might want to try emulating Yacc if the booking you >> are using is enough old and in case current Bison could >> not be able to really follow it. >> >> But make sure you are fixing all of your mistakes too. >> >> If your book mentions a specific version of Bison and >> Flex, you might consider using those at some point. >> >> Regards, >> >>> On 17 Feb 2019, at 12:40, [email protected] <[email protected]> wrote: >>> >>> [...] >>> >>>> [...] >>>> >>>> *And here is my 'MakeFile:* >>>> >>>> test: lexer.l parser.tab.c parser.tab.c >>>> gcc parser.tabs.c lex.yy.c -lfl -o test >>>> >>>> parser.tab.c: parser.tab.c paser.tab.c >>>> bison -d parser.y >>>> >>>> lexer.l: lex.yy.c >>>> flex lexer.l >>>> >>>> clean: >>>> rm -rf lex.yy.c test1.tab.* test >>>> >>>> I can't get i compile and if i get i compile by hand i get errors >>>> ... please can someone help me out here, >>>> the book doens't go to much into detail about this topic. >>>> >>>> best reagards! >>>> >>>> _______________________________________________ >>>> [email protected] https://lists.gnu.org/mailman/listinfo/help-bison >>> _______________________________________________ >>> [email protected] https://lists.gnu.org/mailman/listinfo/help-bison >> >> _______________________________________________ >> [email protected] https://lists.gnu.org/mailman/listinfo/help-bison >> > > _______________________________________________ > [email protected] https://lists.gnu.org/mailman/listinfo/help-bison > _______________________________________________ [email protected] https://lists.gnu.org/mailman/listinfo/help-bison