aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-10-28 23:14:33 +0000
committerJeff Law <law@redhat.com>1993-10-28 23:14:33 +0000
commit3515a504aa80cc78dbfdcd1a543048e41006076c (patch)
tree54e7ca1478cf13b85d54c5b93cac5851d1218f07
parent0689f73a824156b2589e8c4fdfe7bb4af1f96eaf (diff)
downloadgdb-3515a504aa80cc78dbfdcd1a543048e41006076c.zip
gdb-3515a504aa80cc78dbfdcd1a543048e41006076c.tar.gz
gdb-3515a504aa80cc78dbfdcd1a543048e41006076c.tar.bz2
* config/tc-hppa.c (pa_parse_space_stmt): Advance
input_line_pointer when an invalid argument is encountered.
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-hppa.c7
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 65276d7..d52d62b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -72,6 +72,9 @@ Thu Oct 28 12:36:13 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (md_atof): Return a NULL on success rather than
an empty string.
+ * config/tc-hppa.c (pa_parse_space_stmt): Advance
+ input_line_poitner when an invalid argument is encountered.
+
Thu Oct 28 13:09:26 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/tc-a29k.c (md_begin): When opcodes are mashed together in
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index aee2c83..03bcee4 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -5116,7 +5116,12 @@ pa_parse_space_stmt (space_name, create_flag)
private = TRUE;
}
else
- as_bad ("Invalid .SPACE argument");
+ {
+ as_bad ("Invalid .SPACE argument");
+ *input_line_pointer = c;
+ if (! is_end_of_statement ())
+ input_line_pointer++;
+ }
}
}
print_errors = TRUE;