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
1923e0e1
Commit
1923e0e1
authored
Aug 04, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Aug 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c2man: Mark the file used if a comment is found.
parent
812a3148
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
c2man.pl
tools/c2man.pl
+3
-4
No files found.
tools/c2man.pl
View file @
1923e0e1
...
@@ -300,6 +300,9 @@ sub process_source_file($)
...
@@ -300,6 +300,9 @@ sub process_source_file($)
{
{
if
(
/^\/\**$/
)
if
(
/^\/\**$/
)
{
{
# This file is used by the DLL - Make sure we get our contributors right
@
{
$spec_files
{
$comment
->
{
DLL_NAME
}}[
0
]
->
{
CURRENT_EXTRA
}}
=
();
push
(
@
{
$spec_files
{
$comment
->
{
DLL_NAME
}}[
0
]
->
{
SOURCES
}},
$comment
->
{
FILE
});
# Found a comment start
# Found a comment start
$comment
->
{
COMMENT_NAME
}
=
""
;
$comment
->
{
COMMENT_NAME
}
=
""
;
$comment
->
{
ALT_NAME
}
=
""
;
$comment
->
{
ALT_NAME
}
=
""
;
...
@@ -419,10 +422,6 @@ sub process_source_file($)
...
@@ -419,10 +422,6 @@ sub process_source_file($)
if
(
$parse_state
==
4
)
# Reading in the function definition
if
(
$parse_state
==
4
)
# Reading in the function definition
{
{
# This file is used by the DLL - Make sure we get our contributors right
@
{
$spec_files
{
$comment
->
{
DLL_NAME
}}[
0
]
->
{
CURRENT_EXTRA
}}
=
();
push
(
@
{
$spec_files
{
$comment
->
{
DLL_NAME
}}[
0
]
->
{
SOURCES
}},
$comment
->
{
FILE
});
push
(
@
{
$comment
->
{
PROTOTYPE
}},
$_
);
push
(
@
{
$comment
->
{
PROTOTYPE
}},
$_
);
# Strip comments from the line before checking for ')'
# Strip comments from the line before checking for ')'
my
$stripped_line
=
$_
;
my
$stripped_line
=
$_
;
...
...
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