Changeset 11ca48 in git
- Timestamp:
- Aug 3, 2010, 4:49:57 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 99bdcf719779ed8127742694cda3e29f272e2683
- Parents:
- 57dfde6393ffc702f8e898e313d4b76980cdddd5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/subexpr.cc
r57dfde6 r11ca48 830 830 switch (rtyp) 831 831 { 832 case IDHDL: 833 return IDTYP((idhdl)data); 832 834 case ALIAS_CMD: 833 835 { … … 835 837 return ((idhdl)h->data.ustring)->typ; 836 838 } 837 case IDHDL:838 return IDTYP((idhdl)data);839 839 case VECHO: 840 840 case VPAGELENGTH: … … 865 865 int r=0; 866 866 int t=rtyp; 867 if (t== ALIAS_CMD) { idhdl h=(idhdl)IDDATA((idhdl)data); t=IDTYP(h); }868 else if (t== IDHDL) t=IDTYP((idhdl)data);867 if (t==IDHDL) t=IDTYP((idhdl)data); 868 else if (t==ALIAS_CMD) { idhdl h=(idhdl)IDDATA((idhdl)data); t=IDTYP(h); } 869 869 switch (t) 870 870 { … … 956 956 void * sleftv::Data() 957 957 { 958 if(rtyp==ALIAS_CMD)959 {960 idhdl h=(idhdl)data;961 return ((idhdl)h->data.ustring)->data.ustring;962 }963 958 if ((rtyp!=IDHDL) && iiCheckRing(rtyp)) 964 959 return NULL; … … 967 962 switch (rtyp) 968 963 { 964 case ALIAS_CMD: 965 { 966 idhdl h=(idhdl)data; 967 return ((idhdl)h->data.ustring)->data.ustring; 968 } 969 969 case VECHO: return (void *)si_echo; 970 970 case VPAGELENGTH:return (void *)pagelength; … … 1008 1008 d=IDDATA((idhdl)data); 1009 1009 } 1010 else if (t==ALIAS_CMD) 1011 { 1012 idhdl h=(idhdl)IDDATA((idhdl)data); 1013 t=IDTYP(h); 1014 d=IDDATA(h); 1015 } 1010 1016 if (iiCheckRing(t)) 1011 1017 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.