summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.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/fortranscanner.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/fortranscanner.l')
-rw-r--r--src/fortranscanner.l5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 094bfb1..cbe13fd 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -37,7 +37,7 @@
*
* - Must track yyLineNr when using REJECT, unput() or similar commands.
*/
-
+%option never-interactive
%{
#include <stdio.h>
@@ -48,7 +48,6 @@
#include <qarray.h>
#include <qstack.h>
#include <qregexp.h>
-#include <unistd.h>
#include <qfile.h>
#include <qmap.h>
@@ -69,8 +68,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
enum ScanVar { V_IGNORE, V_VARIABLE, V_PARAMETER, V_RESULT};
enum InterfaceType { IF_NONE, IF_SPECIFIC, IF_GENERIC, IF_ABSTRACT };