* rclex.l: Don't permit a comma in a STRING.
* rcparse.y (acc_entry): Warn if an inappropriate modifier is used with a non VIRTKEY. (acc_event): For a control character, set VIRTKEY, and force the character to uppercase. (acc_options): Don't require a comma separator.
This commit is contained in:
parent
b9876b8e4c
commit
999539b559
|
@ -1,3 +1,24 @@
|
||||||
|
Mon Dec 22 11:27:22 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* rclex.l: Don't permit a comma in a STRING.
|
||||||
|
* rcparse.y (acc_entry): Warn if an inappropriate modifier is used
|
||||||
|
with a non VIRTKEY.
|
||||||
|
(acc_event): For a control character, set VIRTKEY, and force the
|
||||||
|
character to uppercase.
|
||||||
|
(acc_options): Don't require a comma separator.
|
||||||
|
|
||||||
|
Tue Dec 9 13:25:42 1997 Michael Meissner <meissner@cygnus.com>
|
||||||
|
|
||||||
|
* size.c (size_number): New function to provide size of field.
|
||||||
|
({l,r}print_number): For octal and hex fields, print field using
|
||||||
|
'0' and '0x' suffixes. Do not include following tab.
|
||||||
|
(sysv_internal_sizer): Size section name, section size, and vma
|
||||||
|
address fields.
|
||||||
|
(sysv_internal_printer): Use calculated sizes for the columns.
|
||||||
|
(print_sysv_format): Size columns before printing.
|
||||||
|
(print_berkeley_format): Print tabs between numbers now that
|
||||||
|
{l,r}print_number doesn't. Print fields right justified.
|
||||||
|
|
||||||
Mon Dec 8 11:22:04 1997 Nick Clifton <nickc@cygnus.com>
|
Mon Dec 8 11:22:04 1997 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* objdump.c (objdump_print_addr_with_sym): Remove call to
|
* objdump.c (objdump_print_addr_with_sym): Remove call to
|
||||||
|
|
|
@ -195,9 +195,15 @@ static char *get_string PARAMS ((int));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[A-Za-z][^ \t\r\n]* {
|
[A-Za-z][^ ,\t\r\n]* {
|
||||||
char *s;
|
char *s;
|
||||||
|
|
||||||
|
/* I rejected comma in a string in order to
|
||||||
|
handle VIRTKEY, CONTROL in an accelerator
|
||||||
|
resource. This means that an unquoted
|
||||||
|
file name can not contain a comma. I
|
||||||
|
don't know what rc permits. */
|
||||||
|
|
||||||
s = get_string (strlen (yytext) + 1);
|
s = get_string (strlen (yytext) + 1);
|
||||||
strcpy (s, yytext);
|
strcpy (s, yytext);
|
||||||
yylval.s = s;
|
yylval.s = s;
|
||||||
|
|
Loading…
Reference in New Issue