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
a49eac93
Commit
a49eac93
authored
Dec 13, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Dec 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Allow comma after popup name.
parent
33c7105e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
parser.y
tools/wrc/parser.y
+9
-8
No files found.
tools/wrc/parser.y
View file @
a49eac93
...
...
@@ -369,7 +369,7 @@ resource_file
else
$
1
=
rsc
;
/* Final statements before were done */
/* Final statements before we
'
re done */
if
((
head
=
get_resource_head
(
$
1
))
!=
NULL
)
{
if
(resource_top)
/* append to existing resources */
...
...
@@ -1278,13 +1278,14 @@ item_definitions
* (who would want to specify a MF_x flag twice?).
*/
item_options
:
/* Empty */
{
$$
=
0;
}
|
opt_comma
tCHECKED
item_options
{
$$
=
$3
|
MF_CHECKED;
}
|
opt_comma
tGRAYED
item_options
{
$$
=
$3
|
MF_GRAYED;
}
|
opt_comma
tHELP
item_options
{
$$
=
$3
|
MF_HELP;
}
|
opt_comma
tINACTIVE
item_options
{
$$
=
$3
|
MF_DISABLED;
}
|
opt_comma
tMENUBARBREAK
item_options
{
$$
=
$3
|
MF_MENUBARBREAK;
}
|
opt_comma
tMENUBREAK
item_options
{
$$
=
$3
|
MF_MENUBREAK;
}
:
/* Empty */
{
$$
=
0;
}
|
','
item_options
{
$$
=
$2;
}
|
tCHECKED
item_options
{
$$
=
$2
|
MF_CHECKED;
}
|
tGRAYED
item_options
{
$$
=
$2
|
MF_GRAYED;
}
|
tHELP
item_options
{
$$
=
$2
|
MF_HELP;
}
|
tINACTIVE
item_options
{
$$
=
$2
|
MF_DISABLED;
}
|
tMENUBARBREAK
item_options
{
$$
=
$2
|
MF_MENUBARBREAK;
}
|
tMENUBREAK
item_options
{
$$
=
$2
|
MF_MENUBREAK;
}
;
/* ------------------------------ MenuEx ------------------------------ */
...
...
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