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
1405c00e
Commit
1405c00e
authored
Jun 23, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.
parent
c6ae945b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
parser.h
tools/wrc/parser.h
+0
-1
parser.l
tools/wrc/parser.l
+1
-0
wrc.c
tools/wrc/wrc.c
+0
-1
No files found.
tools/wrc/parser.h
View file @
1405c00e
...
...
@@ -34,6 +34,5 @@ extern char *parser_text;
extern
int
yy_flex_debug
;
int
parser_lex
(
void
);
int
parser_lex_destroy
(
void
);
#endif
tools/wrc/parser.l
View file @
1405c00e
...
...
@@ -586,6 +586,7 @@ L\" {
isprint(*yytext & 0xff) ? *yytext : '.', *yytext, YY_START);
}
<<EOF>> current_codepage = -1; yyterminate();
%%
/* These dup functions copy the enclosed '\0' from
...
...
tools/wrc/wrc.c
View file @
1405c00e
...
...
@@ -284,7 +284,6 @@ static int load_file( const char *input_name, const char *output_name )
ret
=
parser_parse
();
fclose
(
parser_in
);
parser_lex_destroy
();
if
(
temp_name
)
{
unlink
(
temp_name
);
...
...
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