parcer.c and parser.h is generated from make file replacing the original coming with the source. Try "make clean" after configure in original source but before running "make" - parser.c and parser.h gets deleted.
After building the gtk2 version I use the generated parser.c and parser.h in home brewed makefile. I might have added minor changes to parser.c and parser.h but cant remember...
I think "make" start with lexer.l and create lex.yy which is used to create the parser.c and parser.h, maybe using parser.y as well but I might be totally wrong here.
If I could get an idea of what the parser parses I would prefer to create a plain c-parser - the syntax and rules seems quite limited. This also would open for a more gtk2 compatible version...
ex.pseudocode:
Code: Select all
if (<action>closewindow:EDIT</action>) || <action type="closewindow">EDIT</action>) {"do your things";}