* 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:
Akim Demaille
2001-12-14 16:03:28 +00:00
parent 92790e5bf0
commit 2648a72df7
4 changed files with 53 additions and 58 deletions

View File

@@ -985,13 +985,8 @@ parse_dquoted_param (const char *from)
return NULL;
}
for (;;)
{
if (literalchar (NULL, &c, '\"'))
obstack_1grow (&param_obstack, c);
else
break;
}
while ((c = literalchar ()) != '"')
obstack_1grow (&param_obstack, c);
obstack_1grow (&param_obstack, '\0');
param = obstack_finish (&param_obstack);