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
8f08fe6c
Commit
8f08fe6c
authored
Feb 28, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Integer ids can be used for control labels instead of strings.
parent
1b32901b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
parser.y
tools/wrc/parser.y
+4
-8
No files found.
tools/wrc/parser.y
View file @
8f08fe6c
...
...
@@ -896,11 +896,9 @@ ctrls : /* Empty */ { $$ = NULL; }
;
lab_ctrl
:
tSTRING
opt_comma
expr
','
expr
','
expr
','
expr
','
expr
optional_style_pair
{
:
nameid_s
opt_comma
expr
','
expr
','
expr
','
expr
','
expr
optional_style_pair
{
$$=new_control();
$$->title
=
new_name_id();
$$->title->type
=
name_str;
$$->title->name.s_name
=
$1;
$$->title
=
$1;
$$->id
=
$3;
$$->x
=
$5;
$$->y
=
$7;
...
...
@@ -1156,11 +1154,9 @@ gen_exctrl
;
lab_exctrl
:
tSTRING
opt_comma
expr
','
expr
','
expr
','
expr
','
expr
optional_style_pair
helpid
opt_data
{
:
nameid_s
opt_comma
expr
','
expr
','
expr
','
expr
','
expr
optional_style_pair
helpid
opt_data
{
$$=new_control();
$$->title
=
new_name_id();
$$->title->type
=
name_str;
$$->title->name.s_name
=
$1;
$$->title
=
$1;
$$->id
=
$3;
$$->x
=
$5;
$$->y
=
$7;
...
...
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