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
4c8c425f
Commit
4c8c425f
authored
Oct 02, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
Oct 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Add newlines to error messages that are missing them.
parent
dc7ee864
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
parser.y
tools/widl/parser.y
+2
-2
typegen.c
tools/widl/typegen.c
+1
-1
No files found.
tools/widl/parser.y
View file @
4c8c425f
...
...
@@ -1291,7 +1291,7 @@ static void set_type(var_t *v, type_t *type, int ptr_level, array_dims_t *arr)
v->type->type = ptr_type;
}
else if (!arr)
error("%s: pointer attribute applied to non-pointer type", v->name);
error("%s: pointer attribute applied to non-pointer type
\n
", v->name);
}
sizeless = FALSE;
...
...
@@ -1309,7 +1309,7 @@ static void set_type(var_t *v, type_t *type, int ptr_level, array_dims_t *arr)
error("%s: array dimension must be positive\n", v->name);
if (0xffffffffuL / size < (unsigned long) dim->cval)
error("%s: total array size is too large", v->name);
error("%s: total array size is too large
\n
", v->name);
else if (0xffffuL < size * dim->cval)
v->type = make_type(RPC_FC_LGFARRAY, v->type);
else
...
...
tools/widl/typegen.c
View file @
4c8c425f
...
...
@@ -1611,7 +1611,7 @@ static void write_struct_members(FILE *file, const type_t *type,
fc
=
RPC_FC_ALIGNM8
;
break
;
default:
error
(
"write_struct_members: cannot align type %d"
,
ft
->
type
);
error
(
"write_struct_members: cannot align type %d
\n
"
,
ft
->
type
);
}
print_file
(
file
,
2
,
"0x%x,
\t
/* %s */
\n
"
,
fc
,
string_of_type
(
fc
));
offset
=
(
offset
+
(
align
-
1
))
&
~
(
align
-
1
);
...
...
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