Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
94b6b6f2
Commit
94b6b6f2
authored
Nov 13, 2015
by
mk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unistd.h
parent
b4d7d50d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
BUILD.txt
BUILD.txt
+1
-1
VPreLex.l
src/VPreLex.l
+2
-1
verilogscanner.l
src/verilogscanner.l
+3
-3
No files found.
BUILD.txt
View file @
94b6b6f2
...
...
@@ -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 1
2 2013
" path\to\root\of\doxygen\source\tree
cmake -G "Visual Studio 1
1 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)
...
...
src/VPreLex.l
View file @
94b6b6f2
...
...
@@ -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;
...
...
src/verilogscanner.l
View file @
94b6b6f2
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment