X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Fidlparse.y;h=a6f30e9235181e570a955ab5f80179d77d236446;hp=75c6a8940232c1e04cb8dd4994f39d25a273a55f;hb=eb906c7894bb0f4788b49968a637f434133ff879;hpb=7da27a216a7f4bb3331fe315cdbec69bfcf2c762 diff --git a/idlcomp/idlparse.y b/idlcomp/idlparse.y index 75c6a89..a6f30e9 100644 --- a/idlcomp/idlparse.y +++ b/idlcomp/idlparse.y @@ -1,8 +1,17 @@ %{ -/* idlparse.y -- parser for the IDL compiler - * - * Written by Scott Wood - */ +// IDL parser +// +// This software is copyright (c) 2006 Scott Wood . +// +// 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 #include @@ -489,7 +498,7 @@ iface: } '{' iface_body '}' { pop_nspace(); pop_nspace(); - $$ = $3; + $$ = $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())