Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
41fbacef
Commit
41fbacef
authored
Feb 19, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead.
parent
a41e7744
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
8 deletions
+27
-8
ppl.l
libs/wpp/ppl.l
+4
-1
debug.l
programs/winedbg/debug.l
+6
-1
macro.lex.l
programs/winhelp/macro.lex.l
+8
-2
parser.l
tools/widl/parser.l
+3
-3
parser.l
tools/wrc/parser.l
+6
-1
No files found.
libs/wpp/ppl.l
View file @
41fbacef
...
...
@@ -128,7 +128,6 @@
%option 8bit never-interactive
%option nounput
%option prefix="ppy_"
%option nounistd
%x pp_pp
%x pp_eol
...
...
@@ -164,6 +163,10 @@ ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
#include <ctype.h>
#include <assert.h>
#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "wpp_private.h"
#include "ppy.tab.h"
...
...
programs/winedbg/debug.l
View file @
41fbacef
...
...
@@ -19,13 +19,18 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
%option nounput interactive 8bit prefix="dbg_"
nounistd
%option nounput interactive 8bit prefix="dbg_"
%{
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "debugger.h"
#include "dbg.tab.h"
...
...
programs/winhelp/macro.lex.l
View file @
41fbacef
%{
%{
/* -*-C-*- */
/*
* Help Viewer
*
...
...
@@ -20,10 +20,16 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
%}
%option nounput interactive 8bit
nounistd
%option nounput interactive 8bit
%x quote
%{
#include "config.h"
#include <assert.h>
#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "macro.h"
#include "wine/debug.h"
...
...
tools/widl/parser.l
View file @
41fbacef
...
...
@@ -21,7 +21,6 @@
%option stack
%option nounput noyy_top_state
%option 8bit never-interactive prefix="parser_"
%option nounistd
nl \r?\n
ws [ \f\t\r]
...
...
@@ -45,8 +44,9 @@ double [0-9]+\.[0-9]+([eE][+-]?[0-9]+)*
#include <string.h>
#include <ctype.h>
#include <assert.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "widl.h"
...
...
tools/wrc/parser.l
View file @
41fbacef
...
...
@@ -87,7 +87,6 @@
%option nounput noyy_top_state noyywrap
%option 8bit never-interactive
%option prefix="parser_"
%option nounistd
/* Some shortcut definitions */
ws [ \f\t\r]
...
...
@@ -97,12 +96,18 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
/*#define LEX_DEBUG*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#ifndef HAVE_UNISTD_H
#define YY_NO_UNISTD_H
#endif
#include "wine/unicode.h"
#include "wrc.h"
#include "utils.h"
...
...
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