diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-02-27 11:32:58 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-02-27 11:32:58 +0200 |
commit | 9bd02dc1cc61e195374d3bf83febb724fb08d739 (patch) | |
tree | 6bf791dda3e32f22b9b3d2d2c12deea9865a59e8 /re.c | |
parent | 06ff159e6744b18a3c15d95f9100b050cd169269 (diff) | |
download | egawk-9bd02dc1cc61e195374d3bf83febb724fb08d739.tar.gz egawk-9bd02dc1cc61e195374d3bf83febb724fb08d739.tar.bz2 egawk-9bd02dc1cc61e195374d3bf83febb724fb08d739.zip |
First set of changes toward @/.../.
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -351,7 +351,7 @@ re_update(NODE *t) /* regex was compiled with settings matching IGNORECASE */ if ((t->re_flags & CONSTANT) != 0) { /* it's a constant, so just return it as is */ - assert(t->type == Node_regex); + assert(t->type == Node_regex || t->type == Node_hardregex); return t->re_reg; } t1 = t->re_exp; |