From bafae00416b921ca390498f1d50a984c42c2fc6e Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Jun 30 2014 17:05:45 +0000 Subject: Second link-grammar 5 patch. --- diff --git a/abiword-3.0.0-link-grammar-5-second.patch b/abiword-3.0.0-link-grammar-5-second.patch new file mode 100644 index 0000000..c471c74 --- /dev/null +++ b/abiword-3.0.0-link-grammar-5-second.patch @@ -0,0 +1,35 @@ +--- abiword-3.0.0/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp.orig 2014-06-30 08:21:30.000000000 -0500 ++++ abiword-3.0.0/plugins/grammar/linkgrammarwrap/LinkGrammarWrap.cpp 2014-06-30 08:27:01.000000000 -0500 +@@ -220,6 +220,7 @@ bool LinkGrammarWrap::parseSentence(Piec + pErr = NULL; + } + ++#ifdef DEAD_DEBUG_CODE + // for(i=0; i< pT->m_vecGrammarErrors.getItemCount(); i++) + // { + // pErr = pT->m_vecGrammarErrors.getNthItem(i); +@@ -227,15 +228,10 @@ bool LinkGrammarWrap::parseSentence(Piec + // } + UT_UTF8String sErr = linkage_get_violation_name(linkage); + // UT_DEBUGMSG(("Top Level error message |%s|\n",sErr.utf8_str())); +- UT_sint32 count = linkage_get_num_sublinkages(linkage); + // + // Find linkages with violations + // +- for(i=0; i - 1:3.0.0-11 -- Corrected patch from Linas Vepstas. +- Corrected and second patches from Linas Vepstas. * Tue Jun 24 2014 Jon Ciesla - 1:3.0.0-10 - Rebuild for new link-grammar, with patch for API change.