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
b0c6e36d
Commit
b0c6e36d
authored
Aug 27, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed line numbers in error messages and improved redefinition error
(based on a patch by Jon Griffiths).
parent
f08b1863
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
parser.c
tools/winebuild/parser.c
+4
-3
No files found.
tools/winebuild/parser.c
View file @
b0c6e36d
...
...
@@ -481,8 +481,9 @@ static void sort_names(void)
if
(
!
strcmp
(
Names
[
i
]
->
name
,
Names
[
i
+
1
]
->
name
))
{
current_line
=
max
(
Names
[
i
]
->
lineno
,
Names
[
i
+
1
]
->
lineno
);
fatal_error
(
"'%s' redefined (previous definition at line %d)
\n
"
,
Names
[
i
]
->
name
,
min
(
Names
[
i
]
->
lineno
,
Names
[
i
+
1
]
->
lineno
)
);
fatal_error
(
"'%s' redefined
\n
%s:%d: First defined here
\n
"
,
Names
[
i
]
->
name
,
input_file_name
,
min
(
Names
[
i
]
->
lineno
,
Names
[
i
+
1
]
->
lineno
)
);
}
}
}
...
...
@@ -498,7 +499,7 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
const
char
*
token
;
input_file
=
file
;
current_line
=
1
;
current_line
=
0
;
if
(
owner_name
[
0
])
SpecType
=
SPEC_WIN16
;
while
((
token
=
GetToken
(
1
))
!=
NULL
)
...
...
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