Changeset 46eef0 in git


Ignore:
Timestamp:
Feb 16, 2012, 4:29:54 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
48a41a57bdd254025dd7b8a326d86ce47b43af16
Parents:
69672dabad5157ca90971ef9ee4b7655ed5e7c4b
Message:
fix: copying list withint newstruct (fix from master)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/newstruct.cc

    r69672d r46eef0  
    9595      }
    9696    }
    97     else if((L->m[n].rtyp>MAX_TOK)||(L->m[n].rtyp==LIST_CMD))
     97    else if(L->m[n].rtyp>MAX_TOK)
    9898    {
    9999      N->m[n].rtyp=L->m[n].rtyp;
    100100      N->m[n].data=(void *)lCopy_newstruct((lists)(L->m[n].data));
     101    }
     102    else if(L->m[n].rtyp==LIST_CMD)
     103    {
     104      N->m[n].rtyp=L->m[n].rtyp;
     105      N->m[n].data=(void *)lCopy((lists)(L->m[n].data));
    101106    }
    102107    else
Note: See TracChangeset for help on using the changeset viewer.