[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simple problem
From: |
Akim Demaille |
Subject: |
Re: simple problem |
Date: |
Sun, 24 Feb 2019 07:14:55 +0100 |
Hi,
Could you please use more precise titles to your message? This is particularly
important for the archives.
Also, this list is about Bison, not Flex.
Cheers!
> Le 23 févr. 2019 à 23:19, address@hidden <address@hidden> a écrit :
>
> Hi again, i have the following code:
>
> %{
> #include <stdio.h>
> #include <stdlib.h>
> %}
>
> %%
>
> ^[ \t]+[a-zA-Z]+\( { printf("%s is a function definition\n", yytext); }
> .|\n { /* do nothing */ }
>
> %%
>
> int main(int argc, char **argv)
> {
>
> yylex();
>
> return(0);
> }
>
> but when i try in > \t234welcome( i also get the output %s is a function
> string. how to avoid this behaviour ?
>
>
> best regards!
>
>
> _______________________________________________
> address@hidden https://lists.gnu.org/mailman/listinfo/help-bison