summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
authorAdrian Negreanu <adrian.m.negreanu@intel.com>2015-05-05 15:50:02 (GMT)
committerAdrian Negreanu <adrian.m.negreanu@intel.com>2015-05-15 16:34:41 (GMT)
commit1dd0cf03f5bf173fa4ac3bb8279d12fff1b98eb7 (patch)
tree36e6bd260d45aa8e81c796c6a723d28ac0f11d02 /src/pyscanner.l
parent45ebb6ff4846255ad7209e3bec7cd4fe0544ffd5 (diff)
downloadDoxygen-1dd0cf03f5bf173fa4ac3bb8279d12fff1b98eb7.zip
Doxygen-1dd0cf03f5bf173fa4ac3bb8279d12fff1b98eb7.tar.gz
Doxygen-1dd0cf03f5bf173fa4ac3bb8279d12fff1b98eb7.tar.bz2
drop #include <unistd.h>
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 775b0a4..8332a36 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -21,7 +21,7 @@
* taught by Peter H. Froehlich <phf@acm.org>.
*/
-
+%option never-interactive
%{
/*
@@ -35,7 +35,6 @@
#include <qarray.h>
#include <qstack.h>
#include <qregexp.h>
-#include <unistd.h>
#include <qfile.h>
#include <qfileinfo.h>
@@ -55,8 +54,8 @@
//#define DBG_CTX(x) fprintf x
#define DBG_CTX(x) do { } while(0)
-#define YY_NEVER_INTERACTIVE 1
#define YY_NO_INPUT 1
+#define YY_NO_UNISTD_H 1
/* -----------------------------------------------------------------
*