[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690



The following commit has been merged in the wheezy branch:
commit a2d8eca5900790dcca44e1353a6cb444de91e148
Author: Józef Kucia <joseph.kucia@gmail.com>
Date:   Sat Mar 10 19:58:43 2012 +0100

    wpp: Reset lexer state after unexpected end of file.
    (cherry picked from commit 1d9bb50230edd3c8cfdeb6c763aaaf5655d24aa4)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 2718fd0..8d979dc 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -774,7 +774,10 @@ void pp_writestring(const char *format, ...)
 		if(!bep)
 		{
 			if(YY_START != INITIAL)
+			{
 				ppy_error("Unexpected end of file during preprocessing");
+				BEGIN(INITIAL);
+			}
 			yyterminate();
 		}
 		else if(bep->should_pop == 2)

-- 
Debian Wine packaging



Reply to: