diff options
Diffstat (limited to 'gas/config/tc-iq2000.c')
-rw-r--r-- | gas/config/tc-iq2000.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-iq2000.c b/gas/config/tc-iq2000.c index bddd940..2d55da1 100644 --- a/gas/config/tc-iq2000.c +++ b/gas/config/tc-iq2000.c @@ -796,10 +796,9 @@ get_symbol (void) char *name; symbolS *p; - name = input_line_pointer; - c = get_symbol_end (); + c = get_symbol_name (&name); p = (symbolS *) symbol_find_or_make (name); - *input_line_pointer = c; + (void) restore_line_pointer (c); return p; } |