Changeset fa50209 in git


Ignore:
Timestamp:
Mar 10, 2014, 5:52:19 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
6b86f1c9b9ee948262dff876f5ec6f86992b4b33ab12db732777fc9ca1f9734d184c7e9d38ea9784
Parents:
91dd8a5ef5bb06f9f51df16f59786c2ff90de8ca
Message:
fix: attribute for newstruct (tr.585)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    r91dd8a5 rfa50209  
    12971297  if (e==NULL) return &attribute;
    12981298  if ((rtyp==LIST_CMD)
    1299   ||((rtyp==IDHDL)&&(IDTYP((idhdl)data)==LIST_CMD)))
     1299  ||((rtyp==IDHDL)&&(IDTYP((idhdl)data)==LIST_CMD))
     1300  || (rtyp>MAX_TOK)
     1301  || ((rtyp==IDHDL)&&(IDTYP((idhdl)data)>MAX_TOK)))
    13001302  {
    13011303    leftv v=LData();
     
    13101312  {
    13111313    lists l=NULL;
    1312 
    1313     if (rtyp==LIST_CMD)
     1314    blackbox *b=getBlackboxStuff(rtyp);
     1315
     1316    if ((rtyp==LIST_CMD)
     1317    || ((b!=NULL)&&(BB_LIKE_LIST(b))))
    13141318      l=(lists)data;
    13151319    else if ((rtyp==IDHDL)&& (IDTYP((idhdl)data)==LIST_CMD))
    13161320      l=IDLIST((idhdl)data);
     1321    else if ((rtyp==IDHDL)&& (IDTYP((idhdl)data)>MAX_TOK))
     1322    {
     1323      b=getBlackboxStuff(IDTYP((idhdl)data));
     1324      if (BB_LIKE_LIST(b)) l=IDLIST((idhdl)data);
     1325    }
    13171326    else if (rtyp==ALIAS_CMD)
    13181327    {
Note: See TracChangeset for help on using the changeset viewer.