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
8cd409fa
Commit
8cd409fa
authored
Apr 21, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Added importlib parsing code.
parent
238afbb6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
parser.y
tools/widl/parser.y
+3
-0
typelib.c
tools/widl/typelib.c
+7
-0
typelib.h
tools/widl/typelib.h
+1
-0
No files found.
tools/widl/parser.y
View file @
8cd409fa
...
...
@@ -251,6 +251,7 @@ imp_statements: {}
| imp_statements coclassdef { if (!parse_only) add_coclass($2); }
| imp_statements moduledef { if (!parse_only) add_module($2); }
| imp_statements statement {}
| imp_statements importlib {}
;
int_statements: { $$ = NULL; }
...
...
@@ -277,6 +278,8 @@ import_start: tIMPORT aSTRING ';' { assert(yychar == YYEMPTY);
import: import_start imp_statements aEOF {}
;
importlib: tIMPORTLIB '(' aSTRING ')' { if(!parse_only) add_importlib($3); }
libraryhdr: tLIBRARY aIDENTIFIER { $$ = $2; }
;
library_start: attributes libraryhdr '{' { start_typelib($2, $1);
...
...
tools/widl/typelib.c
View file @
8cd409fa
...
...
@@ -278,3 +278,10 @@ void add_typedef(type_t *tdef, var_t *name)
LINK
(
entry
,
typelib
->
entry
);
typelib
->
entry
=
entry
;
}
void
add_importlib
(
const
char
*
name
)
{
if
(
!
typelib
)
return
;
warning
(
"importlib is not yet supported.
\n
"
);
}
tools/widl/typelib.h
View file @
8cd409fa
...
...
@@ -30,6 +30,7 @@ extern void add_module(type_t *module);
extern
void
add_struct
(
type_t
*
structure
);
extern
void
add_enum
(
type_t
*
enumeration
);
extern
void
add_typedef
(
type_t
*
tdef
,
var_t
*
name
);
extern
void
add_importlib
(
const
char
*
name
);
/* Copied from wtypes.h. Not included directly because that would create a
* circular dependency (after all, wtypes.h is generated by widl...) */
...
...
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