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
90d633cd
Commit
90d633cd
authored
Jul 04, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Jul 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove some unnecessary calls to duptype.
parent
ed0c0138
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
parser.y
tools/widl/parser.y
+3
-3
No files found.
tools/widl/parser.y
View file @
90d633cd
...
...
@@ -819,7 +819,7 @@ base_type: tBYTE { $$ = make_builtin($<str>1); }
}
| tUNSIGNED { $$ = make_int(-1); }
| tFLOAT { $$ = make_builtin($<str>1); }
| tSINGLE { $$ =
duptype(find_type("float", 0), 1
); }
| tSINGLE { $$ =
find_type("float", 0
); }
| tDOUBLE { $$ = make_builtin($<str>1); }
| tBOOLEAN { $$ = make_builtin($<str>1); }
| tERRORSTATUST { $$ = make_builtin($<str>1); }
...
...
@@ -1069,7 +1069,7 @@ structdef: tSTRUCT t_ident '{' fields '}' { $$ = get_typev(RPC_FC_STRUCT, $2, ts
}
;
type: tVOID { $$ =
duptype(find_type_or_error("void", 0), 1
); }
type: tVOID { $$ =
find_type_or_error("void", 0
); }
| aKNOWNTYPE { $$ = find_type_or_error($1, 0); }
| base_type { $$ = $1; }
| enumdef { $$ = $1; }
...
...
@@ -1761,7 +1761,7 @@ static type_t *make_class(char *name)
static type_t *make_safearray(type_t *type)
{
type_t *sa =
duptype(find_type_or_error("SAFEARRAY", 0), 1
);
type_t *sa =
find_type_or_error("SAFEARRAY", 0
);
sa->ref = type;
return make_type(pointer_default, sa);
}
...
...
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