help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Hi everyone,


From: Jannick
Subject: RE: Hi everyone,
Date: Sun, 17 Feb 2019 20:00:30 +0100

On Sun, 17 Feb 2019 18:43:38 +0100, address@hidden wrote:

> Now a very simple question: i have this lexer.l file:

Suggestions for lines you might want to use instead to get things up and 
running:

> [a-zA-Z]    { strcpy(yytext, yyltext); return STRING; } 

[a-zA-Z]+    { strcpy(yyltext, yytext); return STRING; }

>              printf(" = %s\n", &yyltext);

printf(" = %s\n", yyltext);

I usually compile with gcc -Wall to make the compiler do some of the error 
finding work.

Thanks,
J. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]