diff options
-rw-r--r-- | editors/awk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c index d0a8846b9..2d6773b65 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -895,7 +895,7 @@ static uint32_t next_token(uint32_t expected) | |||
895 | while (*p != '/') { | 895 | while (*p != '/') { |
896 | if (*p == '\0' || *p == '\n') | 896 | if (*p == '\0' || *p == '\n') |
897 | syntax_error(EMSG_UNEXP_EOS); | 897 | syntax_error(EMSG_UNEXP_EOS); |
898 | *s++ = *p++; | 898 | *s = *p++; |
899 | if (*s++ == '\\') { | 899 | if (*s++ == '\\') { |
900 | pp = p; | 900 | pp = p; |
901 | *(s-1) = bb_process_escape_sequence((const char **)&p); | 901 | *(s-1) = bb_process_escape_sequence((const char **)&p); |