summaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
Commit message (Collapse)AuthorAgeFilesLines
* * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.Kai Tietz2012-07-281-2/+4
| | | | | | | (PRODUCTVERSION): Likewise. * binutils-all/windres/version_small.rc: New test. * binutils-all/windres/version_small.rsd: Likewise.
* 2011-10-25 Kai Tietz <ktietz@redhat.com>Kai Tietz2011-10-251-7/+44
| | | | | | | | | | | | | | | * winduni.h (unicode_from_ascii_len): New prototype. * winduni.c (unicode_from_ascii_len): New function. * windres.h (define_stringtable): Add additional length argument. * windres.c (define_stringtable): Add length argument for string. * rcparse.y (res_unicode_sizedstring): New rule. (res_unicode_sizedstring_concat): Likewise. (string_data): Adjust rule. 2011-10-25 Kai Tietz <ktietz@redhat.com> * binutils-all/windres/strtab4.rc: New test. * binutils-all/windres/strtab4.rsd: Likewise.
* PR binutils/13051Nick Clifton2011-10-111-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | Fix a syntax error bug when compiling rc files with the VERSIONINFO resource containing more than one language block inside a single StringFileInfo block. * windint.h (rc_ver_stringtable): New structure definition. (rc_ver_info): Use it. * rcparse.y (verstringtable): New variable. (verstringtables): New type. (verstringtables:): New rule declaration. (verblocks:): Use it. * resrc.c (append_ver_stringtable): New function. (append_ver_stringfileinfo): Update to use stringtables. * windres.h (append_ver_stringfileinfo): Update declaration. (append_ver_stringtable): New declaration. * resrc.c (write_rc_versioninfo): Update to support multiple blocks. * resbin.c (bin_to_res_version): Likewise. (res_to_bin_versioninfo): Likewise. * binutils-all\windres\version.rsd: Regenerate. * binutils-all\windres\version_cat.rsd: Regenerate. * binutils-all\windres\version_mlang.rc: Add new test. * binutils-all\windres\version_mlang.rsd: Likewise.
* update copyright datesAlan Modra2009-09-021-1/+1
|
* 2008-12-23 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2008-12-231-0/+4
| | | | * rcparse.y (rcdata_data): Allow empty comma elements.
* * rcparse.y (resid): Allow control text to span multiple lines.Brian Dessent2008-03-161-1/+1
|
* PR/5020: STRINGTABLE doesn't work in 2.18 windres.Kai Tietz2007-09-111-4/+5
|
* Change sources over to using GPLv3Nick Clifton2007-07-051-1/+2
|
* * rcparse.y: Join strings for elements having no side-effects in "rc"-grammar.Nick Clifton2007-05-241-21/+41
| | | | | * testsuite/binutils-all/windres/version_cat.rc: New. * testsuite/binutils-all/windres/version_cat.rsd: New.
* Updated windres toolNick Clifton2007-05-231-180/+338
|
* bfd/Alan Modra2007-04-261-2/+2
| | | | | | | | | | | | | | | | | | | | Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
* Update FSF addressNick Clifton2005-05-081-2/+2
|
* * deflex.l (YY_NO_UNPUT): Define.Alan Modra2005-02-171-1/+2
| | | | | | | | * rclex.l (YY_NO_UNPUT): Define. * rcparse.y (null_unichar): New static var. (res_null_text): Use it rather than attempting to init from wchar_t. * windres.c: Include assert.h and time.h before getopt.h. Include config.h and unistd.h too.
* PR binutils/647Nick Clifton2005-01-171-1/+9
| | | | | | | | | * rcparse.y (RCDATA): Allow a filename to be supplied as the parameter. Parse it with define_rcdata_file(). * resrc.c (define_rcdata_file): New function. * windres.h: Provide a prototype for the new function. * resrc.c (define_user_file): Fix typo by replacing "font file" with "file".
* * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger2003-09-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
* * rcparse.y (res_text_field): New res_id variable.Danny Smith2003-06-281-45/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* Allow resource IDs to be strings or numbers.Nick Clifton2003-03-311-17/+22
| | | | Add a test for this.
* Don't warn about ALT use with non-VIRTKEY.Nick Clifton2002-08-141-1/+1
|
* * rcparse.y: Remove newcmd rule. Move rcparse_discard_stringsAlan Modra2002-05-051-22/+66
| | | | | | | call to rules that need no lookahead. Check for no lookahead. * rclex.l (get_string): Correct "strings" list handling. * resrc.c (read_rc_file): Discard strings.
* Define MEMFLAGS_DISCARDABLE by default for dialogs.Nick Clifton2002-04-161-2/+2
| | | | Add a test for this.
* Allow two to five parameter in FONT statement of DIALOGEX resources.Nick Clifton2002-04-151-0/+37
|
* Regernated recently created expected output files using MSVC.Nick Clifton2002-04-101-2/+2
| | | | Set MEMFLAG_PURE by default - bug exposed by regenerated files.
* Add WS_CAPTION dialog style if CAPTION is specified.Nick Clifton2002-04-091-0/+2
| | | | Add testcase.
* Don't add default dialog style when explicit style specified.Nick Clifton2002-04-091-1/+5
| | | | | Print style even if it is 0. Add testcase.
* Fix typo in BEDIT warning.Nick Clifton2002-04-091-4/+4
|
* Apply patch from Bernd Herd to fix quoted class definitions inside dialogs.Nick Clifton2002-04-091-0/+4
|
* Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu2001-09-191-8/+5
|
* * rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the moreDJ Delorie2001-07-171-3/+3
| | | | | | correct 10). * resrc.c (write_rc_resource): Likewise. * windres.h (SUBLANG_SHIFT): Define - as 10.
* Fix typos in ChangeLogs and update copyright noticesNick Clifton2001-03-131-1/+1
|
* * Make comma after string after icon/control optional.DJ Delorie2000-10-121-6/+48
|
* * rcparse.y (control): ICON controls take an id as the firstDJ Delorie2000-06-131-31/+21
| | | | | | | | | parameter, not an optional string. Also, call new convenience function that takes res_id's. * resrc.c (define_control): missing text means zero-length string, not zero ID. (define_icon_control): New. * windres.h: declare define_icon_control.
* * rclex.l: add code to suppress certain output from cpp, replaceDJ Delorie1999-05-121-0/+2
| | | | | | | | | all returns with MAYBE_RETURN (MAYBE_RETURN): new, implement the suppression by returning IGNORED_TOKEN as needed. (cpp_line): remember which file we're in, mark data from included *.h files for suppression. * rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
* Initial revisionRichard Henderson1999-05-031-0/+1617