awk: fix a trivial bug introduced by me.
This is how it goes. I break stuff by doing useless 'cleanups', people fix the fallout. :(. Thanks rockeychu!
This commit is contained in:
parent
78e48b2c2c
commit
d9b5ab868c
@ -895,7 +895,7 @@ static uint32_t next_token(uint32_t expected)
|
||||
while (*p != '/') {
|
||||
if (*p == '\0' || *p == '\n')
|
||||
syntax_error(EMSG_UNEXP_EOS);
|
||||
*s++ = *p++;
|
||||
*s = *p++;
|
||||
if (*s++ == '\\') {
|
||||
pp = p;
|
||||
*(s-1) = bb_process_escape_sequence((const char **)&p);
|
||||
|
Loading…
Reference in New Issue
Block a user