Commit 110de73f by Michael Meissner

*** empty log message ***

From-SVN: r1674
parent 0d53ee39
...@@ -2912,15 +2912,20 @@ parse_def (name_start) ...@@ -2912,15 +2912,20 @@ parse_def (name_start)
/* Search for the end of the name being defined. */ /* Search for the end of the name being defined. */
for (name_end_p1 = name_start; (ch = *name_end_p1) != ';'; name_end_p1++) /* Allow spaces and such in names for G++ templates, which produce stabs
{ that look like:
if (ch == '\0' || isspace (ch))
#.def SMANIP<long unsigned int>; .scl 10; .type 0x8; .size 8; .endef */
for (name_end_p1 = name_start; (ch = *name_end_p1) != ';' || ch == '\0'; name_end_p1++)
;
if (ch == '\0')
{ {
error_line = __LINE__; error_line = __LINE__;
saber_stop (); saber_stop ();
goto bomb_out; goto bomb_out;
} }
}
/* Parse the remaining subdirectives now. */ /* Parse the remaining subdirectives now. */
dir_start = name_end_p1+1; dir_start = name_end_p1+1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment