another fix
[supertux.git] / tools / miniswig / parser.yy
index 852892e..3e8a4b1 100644 (file)
@@ -219,6 +219,10 @@ maybe_virtual:
 
 variable_declaration:
     type T_ID ';'
+        {
+            delete $1;
+            free($2);
+        }
 ;
 
 function_declaration: