Re: Memory Leaks

2006-11-13 Thread Sean Walton
Paulo J. Matos wrote: Hi all, I've generated a parser with bison and I tried running valgrind on it. The wierd thing is... there's a huge bunch of memory leaks reported. :-( Is this known? Is this a bison leak or a valgrind bug? Regards, If you are using malloc() in your semantic actions, you

Re: Bison lex matching error

2006-10-26 Thread Sean Walton
Sean Walton wrote: I am having problems with getting Bison to match this: Modifier module test { The rule fragment is: module : ANESC_Modifier MODULE id_name The lexer tokens are: ANESC_Modifier = "Modifier" MODULE = "module" I get the error:

Bison lex matching error

2006-10-26 Thread Sean Walton
I am having problems with getting Bison to match this: Modifier module test { The rule fragment is: module : ANESC_Modifier MODULE id_name The lexer tokens are: ANESC_Modifier = "Modifier" MODULE = "module" I get the error: syntax error before `module' Any i

Bison help

2006-09-27 Thread Sean Walton
clash on default action: != I am assuming that since 'function_call' is declared type 'u.itoken' there is a type mismatch. If type mismatching is the problem, can anyone help me convert the types? If NOT, please tell me what is wrong with the productions. Thanks! -Sean Walton ___ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison