Changeset 5d466e in git
- Timestamp:
- Jun 6, 2006, 7:17:06 PM (17 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 54e84caff739c3553691638a0b6127d496e50d1f
- Parents:
- aaa39a5f3bfb59db4dc34d109d40f75d267a1ff9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
raaa39a5 r5d466e 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1.13 6 2006-02-02 10:11:18Singular Exp $ */4 /* $Id: ipshell.cc,v 1.137 2006-06-06 17:17:06 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 726 726 else if ((w=IDRING(r)->idroot->get(what,myynest))!=NULL) 727 727 { 728 char *save_r=NULL; 728 729 v=(leftv)omAlloc0Bin(sleftv_bin); 729 730 sleftv tmpW; 730 731 memset(&tmpW,0,sizeof(sleftv)); 731 732 tmpW.rtyp=IDTYP(w); 733 if (tmpW.rtyp==MAP_CMD) 734 { 735 tmpW.rtyp=IDEAL_CMD; 736 save_r=IDMAP(w)->preimage; 737 IDMAP(w)->preimage=0; 738 } 732 739 tmpW.data=IDDATA(w); 733 740 #ifdef FAST_MAP … … 747 754 Werror("cannot map %s(%d)",Tok2Cmdname(w->typ),w->typ); 748 755 omFreeBin((ADDRESS)v, sleftv_bin); 756 if (save_r!=NULL) IDMAP(w)->preimage=save_r; 749 757 return NULL; 758 } 759 if (save_r!=NULL) 760 { 761 IDMAP(w)->preimage=save_r; 762 IDMAP((idhdl)v)->preimage=omStrDup(save_r); 763 v->rtyp=MAP_CMD; 750 764 } 751 765 return v;
Note: See TracChangeset
for help on using the changeset viewer.