* config/tc-hppa.c (pa_parse_space_stmt): Advance
authorJeff Law <law@redhat.com>
Thu, 28 Oct 1993 23:14:33 +0000 (23:14 +0000)
committerJeff Law <law@redhat.com>
Thu, 28 Oct 1993 23:14:33 +0000 (23:14 +0000)
input_line_pointer when an invalid argument is encountered.

gas/ChangeLog
gas/config/tc-hppa.c

index 65276d7fd4f8b68f9a6c63303481cf44e63ca7cb..d52d62b177c5d3b0e63fffc3961af59a7ee40360 100644 (file)
@@ -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
index aee2c83bdae89ea17dbd49a3cdb778d219f563a2..03bcee4d7daf331a6a9f64f09846db9584c1e28a 100644 (file)
@@ -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;