aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-18 07:30:43 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-18 07:30:43 +0000
commitddbb33cae8173d6481dad6fedaca0925786a2e7a (patch)
tree313c367b6a09df989354d8607eb99de91314c5bc
parentdf4806ef398d2bbf110a18aafc7a219694d8b30a (diff)
downloadbusybox-w32-ddbb33cae8173d6481dad6fedaca0925786a2e7a.tar.gz
busybox-w32-ddbb33cae8173d6481dad6fedaca0925786a2e7a.tar.bz2
busybox-w32-ddbb33cae8173d6481dad6fedaca0925786a2e7a.zip
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! git-svn-id: svn://busybox.net/trunk/busybox@18647 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--editors/awk.c2
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);