diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-10-13 14:29:16 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-10-13 14:29:16 -0400 |
commit | 71f74c483838db2e18a7756469aa8c7edc76c33f (patch) | |
tree | 018b7830dbed25bf7e1b8145df751cbdccdc4f63 /field.c | |
parent | 8f330804cf3061aacf627ca63f6483207230d7b6 (diff) | |
download | egawk-71f74c483838db2e18a7756469aa8c7edc76c33f.tar.gz egawk-71f74c483838db2e18a7756469aa8c7edc76c33f.tar.bz2 egawk-71f74c483838db2e18a7756469aa8c7edc76c33f.zip |
Fix assigning typed regex to FS and RS.
Diffstat (limited to 'field.c')
-rw-r--r-- | field.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1311,7 +1311,7 @@ choose_fs_function: warned = true; lintwarn(_("null string for `FS' is a gawk extension")); } - } else if (fs->stlen > 1) { + } else if (fs->stlen > 1 || (fs->flags & REGEX) != 0) { if (do_lint_old) lintwarn(_("old awk does not support regexps as value of `FS'")); set_parser(re_parse_field); |