[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hi everyone,
From: |
Uxio Prego |
Subject: |
Re: Hi everyone, |
Date: |
Sun, 17 Feb 2019 13:04:01 +0100 |
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, address@hidden <address@hidden> 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!
>>
>> _______________________________________________
>> address@hidden https://lists.gnu.org/mailman/listinfo/help-bison
>
> _______________________________________________
> address@hidden https://lists.gnu.org/mailman/listinfo/help-bison
- Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,,
Uxio Prego <=
- Re: Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,, Uxio Prego, 2019/02/17
- Re: Hi everyone,, Akim Demaille, 2019/02/17
- Re: Hi everyone,, Akim Demaille, 2019/02/17
- Re: Hi everyone,, address@hidden, 2019/02/17
- Re: Hi everyone,, Uxio Prego, 2019/02/17
- Re: Hi everyone,, address@hidden, 2019/02/17
- RE: Hi everyone,, Jannick, 2019/02/17