diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-01-28 21:51:30 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-01-28 21:51:30 +0200 |
commit | ab8d7416c064c94e75d80431270321ceaa866719 (patch) | |
tree | e72c8abdc7c597b6cf475007777624ce9df7472a /dfa.c | |
parent | d6c537443dc5954ca21a849b45dc5adedca6211c (diff) | |
download | egawk-ab8d7416c064c94e75d80431270321ceaa866719.tar.gz egawk-ab8d7416c064c94e75d80431270321ceaa866719.tar.bz2 egawk-ab8d7416c064c94e75d80431270321ceaa866719.zip |
Sync dfa.c with GNU grep.
Diffstat (limited to 'dfa.c')
-rw-r--r-- | dfa.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1136,7 +1136,6 @@ parse_bracket_exp (void) work_mbc->range_ends[work_mbc->nranges++] = case_fold ? towlower (wc2) : (wchar_t) wc2; -#ifndef GREP if (case_fold && (iswalpha (wc) || iswalpha (wc2))) { REALLOC_IF_NECESSARY (work_mbc->range_sts, @@ -1146,7 +1145,6 @@ parse_bracket_exp (void) range_ends_al, work_mbc->nranges + 1); work_mbc->range_ends[work_mbc->nranges++] = towupper (wc2); } -#endif } else { @@ -1182,11 +1180,7 @@ parse_bracket_exp (void) work_mbc->nchars + 1); work_mbc->chars[work_mbc->nchars++] = wc; } -#ifdef GREP - continue; -#else wc = towupper (wc); -#endif } if (!setbit_wc (wc, ccl)) { @@ -1780,13 +1774,11 @@ atom (void) else if (MBS_SUPPORT && tok == WCHAR) { addtok_wc (case_fold ? towlower (wctok) : wctok); -#ifndef GREP if (case_fold && iswalpha (wctok)) { addtok_wc (towupper (wctok)); addtok (OR); } -#endif tok = lex (); } |