%{
-/* idlparse.y -- parser for the IDL compiler
- *
- * Written by Scott Wood <scott@buserror.net>
- */
+// IDL parser
+//
+// This software is copyright (c) 2006 Scott Wood <scott@buserror.net>.
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors or contributors be held liable for any damages
+// arising from the use of this software.
+//
+// Permission is hereby granted to everyone, free of charge, to use, copy,
+// modify, prepare derivative works of, publish, distribute, perform,
+// sublicense, and/or sell copies of the Software, provided that the above
+// copyright notice and disclaimer of warranty be included in all copies or
+// substantial portions of this software.
#include <stdlib.h>
#include <string.h>
} '{' iface_body '}' {
pop_nspace();
pop_nspace();
- $$ = $<iface>3;
+ $$ = $<iface>4;
}
;
qualified_decl:
qualified_ident_raw {
$$.ident = cur_strlist->back();
- $$.ident->retain();
-
cur_strlist->pop_back();
if (!cur_strlist->empty())