* rcparse.y (res_text_field): New res_id variable.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sat, 28 Jun 2003 02:37:43 +0000 (02:37 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Sat, 28 Jun 2003 02:37:43 +0000 (02:37 +0000)
commitb9ae04920ab4f0d0c10fad9dff55c4ca3e2d2251
tree918a73ac0eae39204bb36020ad53b7c2a7d4b393
parent0b2828595e905458c688820815152abdb9fc7c6d
* rcparse.y (res_text_field): New res_id variable.
(res_null_text): New static const struct res_id object,
with empty unicode name field.
(control): Pop parsing of optresidc up one level. Set
res_text_field to $2 except for controls which do not accept
a text field.  Set res_text_field to res_null_text for the
special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
(control_params): Adjust to use res_text_field rather
than optresidc.
(COMBOBOX): Add comment about discrepency between documented
vs. observed default style.
* resrc.c (define_control): Make first param const.
* windres.h (define_control): Adjust prototype.

testsuite:

* binutils-all/windres/checkbox.rc: New file.
* binutils-all/windres/checkbox.rsd: New file.
* binutils-all/windres/combobox.rc: New file.
* binutils-all/windres/combobox.rsd: New file.
* binutils-all/windres/edittext.rc: New file.
* binutils-all/windres/edittext.rsd: New file.
* binutils-all/windres/listbox.rc: New file.
* binutils-all/windres/listbox.rsd: New file.
* binutils-all/windres/scrollbar.rc: New file.
* binutils-all/windres/scrollbar.rsd: New file.
15 files changed:
binutils/ChangeLog
binutils/rcparse.y
binutils/resrc.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/windres/checkbox.rc [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/checkbox.rsd [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/combobox.rc [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/combobox.rsd [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/edittext.rc [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/edittext.rsd [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/listbox.rc [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/listbox.rsd [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/scrollbar.rc [new file with mode: 0644]
binutils/testsuite/binutils-all/windres/scrollbar.rsd [new file with mode: 0644]
binutils/windres.h
This page took 0.027277 seconds and 4 git commands to generate.