Re: process flex+bison output in gtk hash table and list store

2013-03-30 Thread Rudra Banerjee
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);

process flex+bison output in gtk hash table and list store

2013-03-29 Thread Rudra Banerjee
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