Any help please?
On Fri, 2013-03-29 at 22:01 +, Rudra Banerjee wrote:
> I want to parse a bibtex file using flex and bison, and will display
> those data using gtk library(in C). The lexer is
>
> %{
> #include "bib.tab.h"
> %}
>
> %%
> [A-Za-z][A-Za-z0-9]* { yylval.sval = strdup(yytext);
I want to parse a bibtex file using flex and bison, and will display
those data using gtk library(in C). The lexer is
%{
#include "bib.tab.h"
%}
%%
[A-Za-z][A-Za-z0-9]* { yylval.sval = strdup(yytext); return KEY; }
\"([^\"]|\\.)*\"|\{([^\"]|\\.)*\} { yylval.sval = strdup(yytext); return
V