diff options
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r-- | gdb/ada-lex.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index 93df2fb..2f9e1b3 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -497,7 +497,8 @@ processString (const char *text, int len) const char *lim = text + len; struct stoken result; - q = result.ptr = obstack_alloc (&temp_parse_space, len); + q = obstack_alloc (&temp_parse_space, len); + result.ptr = q; p = text; while (p < lim) { |