~ubuntu-branches/ubuntu/natty/mawk/natty

« back to all changes in this revision

Viewing changes to array.c

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2001-07-18 20:40:37 UTC
  • Revision ID: james.westby@ubuntu.com-20010718204037-ktb1x8r3ukz5hp3h
Tags: 1.3.3-8
debian/rules (build): compile with -O1 on hppa to work around probable
compiler bug.  Thanks to LaMont Jones <lamont@ia.mmjgroup.com>.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
            Int ival = d_to_I(d) ;
113
113
            if ((double)ival == d) {
114
114
                                      if (A->type == AY_SPLIT)
 
115
                                        {
115
116
                                         if (ival >=1 && ival <= A->size) convert_split_array_to_table(A) ;
116
117
                                         else return ; /* ival not in range */
 
118
                                        }
117
119
                                      ap = find_by_ival(A, ival, NO_CREATE) ;
118
120
                                      if (ap) { /* remove from the front of the ilist */
119
121
                                         DUAL_LINK *table = (DUAL_LINK*) A->ptr ;