diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-06-08 22:15:43 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-06-08 22:15:43 +0300 |
commit | 8c713154f0ccaa4e303d8a7893974bed27ec4529 (patch) | |
tree | 5ec582db58188957be8155d680fda1c820c7442e /node.c | |
parent | a24ac6a4fea139604941cb97092554043445776d (diff) | |
download | egawk-8c713154f0ccaa4e303d8a7893974bed27ec4529.tar.gz egawk-8c713154f0ccaa4e303d8a7893974bed27ec4529.tar.bz2 egawk-8c713154f0ccaa4e303d8a7893974bed27ec4529.zip |
Sync dfa with GNU grep.
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -349,6 +349,7 @@ NODE * r_make_str_node(const char *s, unsigned long len, int flags) { NODE *r; + getnode(r); r->type = Node_val; r->numbr = 0; @@ -365,7 +366,7 @@ r_make_str_node(const char *s, unsigned long len, int flags) memcpy(r->stptr, s, len); } r->stptr[len] = '\0'; - + if ((flags & SCAN) != 0) { /* scan for escape sequences */ const char *pf; char *ptm; |