Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0bde2bbe
Commit
0bde2bbe
authored
Sep 03, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use <> format in generated #include statements.
Integer constants should be unsigned.
parent
7d43d7bb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
objidl.h
include/objidl.h
+1
-1
parser.l
tools/widl/parser.l
+3
-3
parser.y
tools/widl/parser.y
+1
-1
widl.c
tools/widl/widl.c
+2
-2
No files found.
include/objidl.h
View file @
0bde2bbe
...
...
@@ -8522,7 +8522,7 @@ struct tagPROPVARIANT {
typedef
struct
tagPROPVARIANT
*
LPPROPVARIANT
;
#define PRSPEC_INVALID (0x
7
fffffff)
#define PRSPEC_INVALID (0x
f
fffffff)
#define PRSPEC_LPWSTR (0)
...
...
tools/widl/parser.l
View file @
0bde2bbe
...
...
@@ -141,11 +141,11 @@ static UUID* parse_uuid(const char*u)
return aUUID;
}
{hex} {
yylval.num = strtol(yytext, NULL, 0);
yylval.num = strto
u
l(yytext, NULL, 0);
return aHEXNUM;
}
{int} {
yylval.num = strtol(yytext, NULL, 0);
yylval.num = strto
u
l(yytext, NULL, 0);
return aNUM;
}
{cident} return kw_token(yytext);
...
...
@@ -360,7 +360,7 @@ int do_import(char *fname)
p = hname + strlen(hname) - 2;
if (p <= hname || strcmp( p, ".h" )) strcat(hname, ".h");
fprintf(header, "#include
\"%s\"
\n", hname);
fprintf(header, "#include
<%s>
\n", hname);
free(hname);
}
...
...
tools/widl/parser.y
View file @
0bde2bbe
...
...
@@ -107,7 +107,7 @@ static type_t std_uhyper = { "MIDL_uhyper" };
func_t *func;
char *str;
UUID *uuid;
int num;
unsigned
int num;
}
%token <str> aIDENTIFIER
...
...
tools/widl/widl.c
View file @
0bde2bbe
...
...
@@ -239,8 +239,8 @@ int main(int argc,char *argv[])
header
=
fopen
(
header_name
,
"w"
);
fprintf
(
header
,
"/*** Autogenerated by WIDL %s from %s - Do not edit ***/
\n
"
,
WIDL_FULLVERSION
,
input_name
);
fprintf
(
header
,
"#include
\"
rpc.h
\"
\n
"
);
fprintf
(
header
,
"#include
\"
rpcndr.h
\"
\n\n
"
);
fprintf
(
header
,
"#include
<rpc.h>
\n
"
);
fprintf
(
header
,
"#include
<rpcndr.h>
\n\n
"
);
fprintf
(
header
,
"#ifndef __WIDL_%s
\n
"
,
header_token
);
fprintf
(
header
,
"#define __WIDL_%s
\n
"
,
header_token
);
fprintf
(
header
,
"#ifdef __cplusplus
\n
"
);
...
...
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