Skip to content
Snippets Groups Projects
Commit 121d4957 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

one more leak gone..

Rev: src/language.yacc:1.13
parent b906cfa0
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
/* This is the grammar definition of Pike. */ /* This is the grammar definition of Pike. */
#include "global.h" #include "global.h"
RCSID("$Id: language.yacc,v 1.12 1996/11/28 03:05:52 hubbe Exp $"); RCSID("$Id: language.yacc,v 1.13 1996/11/28 03:42:13 hubbe Exp $");
#ifdef HAVE_MEMORY_H #ifdef HAVE_MEMORY_H
#include <memory.h> #include <memory.h>
#endif #endif
...@@ -556,7 +556,7 @@ def: modifiers type_or_error optional_stars F_IDENTIFIER '(' arguments ')' ...@@ -556,7 +556,7 @@ def: modifiers type_or_error optional_stars F_IDENTIFIER '(' arguments ')'
| modifiers type_or_error name_list ';' {} | modifiers type_or_error name_list ';' {}
| inheritance {} | inheritance {}
| constant {} | constant {}
| class {} | class { free_node($1); }
| error | error
{ {
reset_type_stack(); reset_type_stack();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment