diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-08-15 21:21:51 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-08-15 21:21:51 +0300 |
commit | ff7ed27a5894eeda46db9d5e5b9743d1ba14ed5d (patch) | |
tree | 570b703958105587d929058d87ef904a51fd10a3 /dfa.c | |
parent | 41213074e5aa424296abecb51dd16607496cb69c (diff) | |
parent | 96cc85ac9ba06ab6b9edface5e4c34392a07a98d (diff) | |
download | egawk-ff7ed27a5894eeda46db9d5e5b9743d1ba14ed5d.tar.gz egawk-ff7ed27a5894eeda46db9d5e5b9743d1ba14ed5d.tar.bz2 egawk-ff7ed27a5894eeda46db9d5e5b9743d1ba14ed5d.zip |
Merge branch 'gawk-4.1-stable' into feature/zOS-try2
Diffstat (limited to 'dfa.c')
-rw-r--r-- | dfa.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3981,6 +3981,8 @@ dfamust (struct dfa const *d) bool exact = false; bool begline = false; bool endline = false; + size_t rj; + struct dfamust *dm; for (ri = 0; ri < d->tindex; ++ri) { @@ -4153,7 +4155,7 @@ dfamust (struct dfa const *d) } } - size_t rj = ri + 2; + rj = ri + 2; if (d->tokens[ri + 1] == CAT) { for (; rj < d->tindex - 1; rj += 2) @@ -4184,7 +4186,7 @@ done: if (!*result) return NULL; - struct dfamust *dm = xmalloc (sizeof *dm); + dm = xmalloc (sizeof *dm); dm->exact = exact; dm->begline = begline; dm->endline = endline; |