diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-11-29 19:49:02 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-11-29 19:49:02 +0200 |
commit | 4931b67d7efa50576cea9f3045cc9d70ea779f2e (patch) | |
tree | edc95611ecf3aa9e54043a4ba9852a0124174bfb /dfa.c | |
parent | b2aca8c7877af71e056210030ba2d8354a47d43f (diff) | |
download | egawk-4931b67d7efa50576cea9f3045cc9d70ea779f2e.tar.gz egawk-4931b67d7efa50576cea9f3045cc9d70ea779f2e.tar.bz2 egawk-4931b67d7efa50576cea9f3045cc9d70ea779f2e.zip |
Use RE_ICASE instead of DFA_CASE_FOLD in dfa.c and re.c.
Diffstat (limited to 'dfa.c')
-rw-r--r-- | dfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4018,7 +4018,7 @@ dfasyntax (struct dfa *dfa, struct localeinfo const *linfo, dfa->canychar = -1; dfa->lex.cur_mb_len = 1; dfa->syntax.syntax_bits_set = true; - dfa->syntax.case_fold = (dfaopts & DFA_CASE_FOLD) != 0; + dfa->syntax.case_fold = (bits & RE_ICASE) != 0; dfa->syntax.anchor = (dfaopts & DFA_ANCHOR) != 0; dfa->syntax.eolbyte = dfaopts & DFA_EOL_NUL ? '\0' : '\n'; dfa->syntax.syntax_bits = bits; |