~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to field.c

  • Committer: Arnold D. Robbins
  • Date: 2016-11-22 18:30:09 UTC
  • mfrom: (408.31.46)
  • Revision ID: git-v1:52715ba9f8510f30368462fee1b1d24bf282b0aa
Merge branch 'master' into feature/cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
952
952
                return make_number((AWKNUM) 0);
953
953
        }
954
954
 
 
955
        if ((sep->flags & REGEX) != 0)
 
956
                sep = sep->typed_re;
 
957
 
955
958
        if (   (sep->re_flags & FS_DFLT) != 0
956
959
            && current_field_sep() == Using_FS
957
960
            && ! RS_is_null) {
1014
1017
 
1015
1018
        src = TOP_STRING();
1016
1019
 
 
1020
        if ((sep->flags & REGEX) != 0)
 
1021
                sep = sep->typed_re;
 
1022
 
1017
1023
        fpat = sep->re_exp;
1018
1024
        if (fpat->stlen == 0)
1019
1025
                fatal(_("patsplit: third argument must be non-null"));