]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/cdlparse.y
parser: remove unnecessary retains
[polintos/scott/priv.git] / idlcomp / cdlparse.y
index 8896bbb6249dddf0fde4e4550d34449b59d6e3c3..34135bdf75874779e75dce82875b103ede1f24e0 100644 (file)
@@ -1,8 +1,17 @@
 %{
-/* cdlparse.y -- parser for the CDL compiler
- *
- * Written by Scott Wood <scott@buserror.net>
- */
+// CDL 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>
@@ -335,8 +344,6 @@ qualified_decl:
                cur_strlist = new StrList;
        } qualified_ident_raw {
                $$.ident = cur_strlist->back();
-               $$.ident->retain();
-               
                cur_strlist->pop_back();
                
                if (!cur_strlist->empty())