~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/c/gbc-new.d

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-06-21 09:21:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060621092121-txz1f21lj0wh0f67
Tags: 0.9h-20060617-1
* New upstream version
* Updated standards version without real changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
 
201
201
        case t_array:
202
202
                mark_contblock(x->array.dims, sizeof(x->array.dims[0])*x->array.rank);
 
203
#ifdef ECL_UNICODE
 
204
        case t_string:
 
205
#endif
203
206
        case t_vector:
204
207
                if ((y = x->array.displaced) != Cnil)
205
208
                        mark_displaced(y);
207
210
                if (cp == NULL)
208
211
                        break;
209
212
                switch ((enum aelttype)x->array.elttype) {
 
213
#ifdef ECL_UNICODE
 
214
                case aet_ch:
 
215
#endif
210
216
                case aet_object:
211
217
                        if (x->array.displaced == Cnil || CAR(x->array.displaced) == Cnil) {
212
218
                                cl_object *p = x->array.self.t;
220
226
                        }
221
227
                        j = sizeof(cl_object)*x->array.dim;
222
228
                        break;
223
 
                case aet_ch:
 
229
                case aet_bc:
224
230
                        j = x->array.dim;
225
231
                        break;
226
232
                case aet_bit:
239
245
                        error("Allocation botch: unknown array element type");
240
246
                }
241
247
                goto COPY_ARRAY;
242
 
        case t_string:
243
 
                if ((y = x->string.displaced) != Cnil)
 
248
        case t_base_string:
 
249
                if ((y = x->base_string.displaced) != Cnil)
244
250
                        mark_displaced(y);
245
 
                cp = x->string.self;
 
251
                cp = x->base_string.self;
246
252
                if (cp == NULL)
247
253
                        break;
248
 
                j = x->string.dim;
 
254
                j = x->base_string.dim;
249
255
        COPY_ARRAY:
250
256
                mark_contblock(cp, j);
251
257
                break;