]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/idlparse.y
parser: remove unnecessary retains
[polintos/scott/priv.git] / idlcomp / idlparse.y
index 75c6a8940232c1e04cb8dd4994f39d25a273a55f..a6f30e9235181e570a955ab5f80179d77d236446 100644 (file)
@@ -1,8 +1,17 @@
 %{
-/* 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>
@@ -489,7 +498,7 @@ iface:
        } '{' iface_body '}' {
                pop_nspace();
                pop_nspace();
-               $$ = $<iface>3;
+               $$ = $<iface>4;
        }
 ;
 
@@ -716,8 +725,6 @@ qualified_ident:
 qualified_decl:
        qualified_ident_raw {
                $$.ident = cur_strlist->back();
-               $$.ident->retain();
-               
                cur_strlist->pop_back();
                
                if (!cur_strlist->empty())