Просмотр исходного кода

libdpkg: Use %option noinput instead of defining YY_NO_INPUT

The latter is a flex internal implementation detail, and should not be
relied on.
Guillem Jover лет назад: 14
Родитель
Сommit
4935913e08
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/dpkg/trigdeferred.l

+ 1 - 1
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;