Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi there,

On Fri, 2012-03-02 at 16:39 +0100, Dézsi Szabolcs wrote:
diff --git a/hwpfilter/source/grammar.cxx
b/hwpfilter/source/grammar.cxx
index 2285aab..99c2f3c 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -909,291 +910,291 @@ yyreduce:
 
 case 1:
 #line 60 "grammar.y"
-{ yyval.ptr = new Node(ID_IDENTIFIER); allocValue(yyval.ptr->value ,
yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str);
nodelist.insert(yyval.ptr); ;
+{ yyval.ptr = new Node(ID_IDENTIFIER); allocValue(yyval.ptr->value ,
yyvsp[0].str); debug("Identifier : %s\n",yyvsp[0].str);
nodelist.push_back(yyval.ptr); ;
     break;}
 case 2:

        etc. etc. I never noticed we had this generated grammar (apparently)
without the original .y file to re-generate it from - that's pretty
sucky. I wonder how it happened.

        Then again, with only ~70 states, it looks like a reasonably tractible
grammar to unwind & re-write.

        Regards,

                Michael.

-- 
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.