aboutsummaryrefslogtreecommitdiffstats
path: root/dfa.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-11-29 19:49:59 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-11-29 19:49:59 +0200
commit2d0858d286df94ea822bf8f51656ecf7ac05b6ea (patch)
tree70b0ac6ed75c288fbafc7974bcf8cec59032bfce /dfa.c
parent7640888eeb72fc4ff315c43dba5857e4f8cec42a (diff)
parent4931b67d7efa50576cea9f3045cc9d70ea779f2e (diff)
downloadegawk-2d0858d286df94ea822bf8f51656ecf7ac05b6ea.tar.gz
egawk-2d0858d286df94ea822bf8f51656ecf7ac05b6ea.tar.bz2
egawk-2d0858d286df94ea822bf8f51656ecf7ac05b6ea.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'dfa.c')
-rw-r--r--dfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dfa.c b/dfa.c
index b735445f..cd7dce65 100644
--- a/dfa.c
+++ b/dfa.c
@@ -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;