Changeset 34ac5c in git
- Timestamp:
- Apr 25, 2020, 8:51:11 PM (3 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 97545c1fa4c4b6d1064e403eea440425970b4a4d
- Parents:
- 8e903f23324de1e4ec1dc9926b6de0a16de605d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r8e903f r34ac5c 1115 1115 * assign a = b 1116 1116 */ 1117 static BOOLEAN jiAssign_1(leftv l, leftv r, BOOLEAN toplevel, BOOLEAN is_qring=FALSE) 1118 { 1119 int rt=r->Typ(); 1117 static BOOLEAN jiAssign_1(leftv l, leftv r, int rt, BOOLEAN toplevel, BOOLEAN is_qring=FALSE) 1118 { 1120 1119 if (rt==0) 1121 1120 { … … 1384 1383 h=l->next; 1385 1384 l->next=NULL; 1386 nok=jiAssign_1(l,&t, TRUE);1385 nok=jiAssign_1(l,&t,INT_CMD,TRUE); 1387 1386 l->next=h; 1388 1387 if (nok) return TRUE; … … 1418 1417 h=l->next; 1419 1418 l->next=NULL; 1420 nok=jiAssign_1(l,&t, TRUE);1419 nok=jiAssign_1(l,&t,POLY_CMD,TRUE); 1421 1420 l->next=h; 1422 1421 t.CleanUp(); … … 1656 1655 idhdl hh=NULL; 1657 1656 if ((l->rtyp==IDHDL)&&(l->Typ()==DEF_CMD)) hh=(idhdl)l->data; 1658 nok=jiAssign_1(l,&t, TRUE);1657 nok=jiAssign_1(l,&t,POLY_CMD,TRUE); 1659 1658 if (hh!=NULL) { ipMoveId(hh);hh=NULL;} 1660 1659 l->next=h; … … 1732 1731 h=l->next; 1733 1732 l->next=NULL; 1734 nok=jiAssign_1(l,&t, TRUE);1733 nok=jiAssign_1(l,&t,STRING_CMD,TRUE); 1735 1734 if (nok) 1736 1735 { … … 1938 1937 &&((lt==rt)||(lt!=LIST_CMD))) 1939 1938 { 1940 b=jiAssign_1(l,r, toplevel,is_qring);1939 b=jiAssign_1(l,r,rt,toplevel,is_qring); 1941 1940 if (l->rtyp==IDHDL) 1942 1941 { … … 1963 1962 ) 1964 1963 { 1965 b=jiAssign_1(l,r, toplevel);1964 b=jiAssign_1(l,r,rt,toplevel); 1966 1965 if((l->rtyp==IDHDL)&&(l->data!=NULL)) 1967 1966 { … … 2049 2048 if ((hh->next==NULL)&&(hh->Typ()==IDEAL_CMD)) 2050 2049 { 2051 b=jiAssign_1(l,hh, toplevel); /* map-assign: map f=r,i; */2050 b=jiAssign_1(l,hh,IDEAL_CMD,toplevel); /* map-assign: map f=r,i; */ 2052 2051 omFreeBin(hh,sleftv_bin); 2053 2052 return b;
Note: See TracChangeset
for help on using the changeset viewer.