bug-hurd
[Top][All Lists]
Advanced

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

[PATCH 1/5] Advise flex not to generate the input function


From: Justus Winter
Subject: [PATCH 1/5] Advise flex not to generate the input function
Date: Mon, 2 Dec 2013 10:58:15 +0100

This avoids a warning about input being unused.

* lexxer.l: Define YY_NO_INPUT.
---
 lexxer.l |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lexxer.l b/lexxer.l
index 6686b55..5f2f61e 100644
--- a/lexxer.l
+++ b/lexxer.l
@@ -50,6 +50,9 @@ FileName      ({QString}|{AString})
 #include "lexxer.h"
 #include "cpu.h"
 
+/* We do not need the input function.  */
+#define YY_NO_INPUT
+
 #define        stringize(x)    #x
 
 #ifdef LDEBUG
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]