aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-12-22 08:29:28 +0000
committerIan Lance Taylor <ian@airs.com>1997-12-22 08:29:28 +0000
commit999539b55949bf5ce1acb1bfae87c8212ad6c9b2 (patch)
treeea673c799d9e653f5d8c2b2188b2c6323e57af87 /binutils
parentb9876b8e4c6000db6305efd05a975850b1ce8c20 (diff)
downloadgdb-999539b55949bf5ce1acb1bfae87c8212ad6c9b2.zip
gdb-999539b55949bf5ce1acb1bfae87c8212ad6c9b2.tar.gz
gdb-999539b55949bf5ce1acb1bfae87c8212ad6c9b2.tar.bz2
* 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.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog21
-rw-r--r--binutils/rclex.l8
2 files changed, 28 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d1a74a7..a930df1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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>
* objdump.c (objdump_print_addr_with_sym): Remove call to
diff --git a/binutils/rclex.l b/binutils/rclex.l
index 427ef2a..d84ec47 100644
--- a/binutils/rclex.l
+++ b/binutils/rclex.l
@@ -195,9 +195,15 @@ static char *get_string PARAMS ((int));
}
}
-[A-Za-z][^ \t\r\n]* {
+[A-Za-z][^ ,\t\r\n]* {
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);
strcpy (s, yytext);
yylval.s = s;