Commit 94b6b6f2 authored by mk's avatar mk

remove unistd.h

parent b4d7d50d
......@@ -19,7 +19,7 @@ This also works for MacOSX, but if XCode is installed you can also generate an X
For Windows one can generate a Visual Studio project using
cmake -G "Visual Studio 12 2013" path\to\root\of\doxygen\source\tree
cmake -G "Visual Studio 11 2012" path\to\root\of\doxygen\source\tree
(this is for Visual Studio 12, there are typically also generators for other versions of
Visual Studio or other compiler environments like MinGW)
......
......@@ -3,7 +3,7 @@
%option noc++
%option prefix="VPreLex"
%option never-interactive
%{
/******************************************************************************
* DESCRIPTION: Verilog Preprocessor Lexer
......@@ -38,6 +38,7 @@
#include <iostream>
#include "qcstring.h"
#include "define.h"
#define YY_NO_UNISTD_H 1
// Flex 2.5.35 has compile warning in ECHO, so we'll default our own rule
#define ECHO yyerror_f("Missing VPreLex.l rule: ECHO rule invoked in state %d: %s", YY_START, yytext);
struct VPreProcImp;
......
......@@ -25,7 +25,7 @@
* supports the IEEE Std 1364-2001 (Revision of IEEE Std 1364-1995)Verilog subset
* %option debug
*****************************************************************************/
%option never-interactive
%{
#include "VPreProc.h"
#include <stdio.h>
......@@ -140,9 +140,9 @@ static void writeInclude(QCString);
#define YY_NEVER_INTERACTIVE 1
#define YY_USER_ACTION num_chars +=verilogscannerYYleng ;
#define YY_USER_ACTION num_chars +=verilogscannerYYleng ;
#define YY_NO_UNISTD_H 1
//-----------------------------------------------------------
// dictionaries for keywords
static QDict<QCString> verilogKeyDict(17,false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment