mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +00:00
* src/lex.c (literalchar): Simply return the char you decoded, non
longer mess around with obstacks and int pointers. Adjust all callers.
This commit is contained in:
@@ -985,13 +985,8 @@ parse_dquoted_param (const char *from)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
for (;;)
|
||||
{
|
||||
if (literalchar (NULL, &c, '\"'))
|
||||
obstack_1grow (¶m_obstack, c);
|
||||
else
|
||||
break;
|
||||
}
|
||||
while ((c = literalchar ()) != '"')
|
||||
obstack_1grow (¶m_obstack, c);
|
||||
|
||||
obstack_1grow (¶m_obstack, '\0');
|
||||
param = obstack_finish (¶m_obstack);
|
||||
|
||||
Reference in New Issue
Block a user