diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-01-01 19:02:40 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-01-01 19:02:40 +0200 |
commit | 176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc (patch) | |
tree | da57ca4d9617ad61c7f820d73ff65cfbaa7c8576 /regexec.c | |
parent | e427f97daa5f252709f5380701f306e031585dde (diff) | |
download | egawk-176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc.tar.gz egawk-176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc.tar.bz2 egawk-176594bbcd1255f0e6bbde616aeaaa7ddfeca3cc.zip |
Bring gawk regex closer to GLIBC.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3934,7 +3934,6 @@ check_node_accept_bytes (const re_dfa_t *dfa, int node_idx, if (cset->nequiv_classes) { const unsigned char *cp = pin; - int32_t idx; table = (const int32_t *) _NL_CURRENT (LC_COLLATE, _NL_COLLATE_TABLEMB); weights = (const unsigned char *) @@ -3943,7 +3942,7 @@ check_node_accept_bytes (const re_dfa_t *dfa, int node_idx, _NL_CURRENT (LC_COLLATE, _NL_COLLATE_EXTRAMB); indirect = (const int32_t *) _NL_CURRENT (LC_COLLATE, _NL_COLLATE_INDIRECTMB); - idx = findidx (&cp, elem_len); + int32_t idx = findidx (&cp, elem_len); if (idx > 0) for (i = 0; i < cset->nequiv_classes; ++i) { |