Allow symbol and label names to be enclosed in double quotes.
[deliverable/binutils-gdb.git] / gas / config / tc-iq2000.c
index bddd940a113a946b536fea9d0f2800e72b7e7d85..2d55da120909b99ff64ff41eda9b5b5fe7b171da 100644 (file)
@@ -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;
 }
 
This page took 0.023474 seconds and 4 git commands to generate.