The following commit has been merged in the master branch:
commit 4935913e08efeb815e885fb6c6c9061443a891ac
Author: Guillem Jover <[email protected]>
Date:   Tue Oct 4 07:25:16 2011 +0200

    libdpkg: Use %option noinput instead of defining YY_NO_INPUT
    
    The latter is a flex internal implementation detail, and should not be
    relied on.

diff --git a/lib/dpkg/trigdeferred.l b/lib/dpkg/trigdeferred.l
index 1cb5ccc..c476cc5 100644
--- a/lib/dpkg/trigdeferred.l
+++ b/lib/dpkg/trigdeferred.l
@@ -28,6 +28,7 @@
 %option nodefault
 %option perf-report
 %option warn
+%option noinput
 %option nounput
 
 %x midline
@@ -49,7 +50,6 @@
 #include <dpkg/trigdeferred.h>
 #include <dpkg/triglib.h>
 
-#define YY_NO_INPUT
 #define YY_DECL int trigdef_parse(void)
 
 static struct varbuf fn, newfn;

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to