Changeset c3abfcc in git
- Timestamp:
- Nov 30, 2017, 2:00:45 PM (6 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 096909fb00e2a3f43dd830aae1cf62510ebb98b5
- Parents:
- 28d88317f5be18d83c49515617dfb0e38ae38600
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r28d883 rc3abfcc 2607 2607 // u: the name of the new type 2608 2608 // v: the elements 2609 newstruct_desc d=newstructFromString((const char *)v->Data()); 2610 if (d!=NULL) newstruct_setup((const char *)u->Data(),d); 2609 const char *s=(const char *)u->Data(); 2610 newstruct_desc d=NULL; 2611 if (strlen(s)>=2) 2612 { 2613 d=newstructFromString((const char *)v->Data()); 2614 if (d!=NULL) newstruct_setup(s,d); 2615 } 2616 else WerrorS("name of newstruct must be longer than 1 character"); 2611 2617 return d==NULL; 2612 2618 } … … 7805 7811 case 0:{ 7806 7812 PrintS("delete all variables\n"); 7807 7808 7809 7813 killlocals(0); 7814 WerrorS("restarting..."); 7815 break; 7810 7816 }; 7811 7817 default: WerrorS("not implemented"); -
Tst/Short/bug_newstruct.res.gz.uu
r28d883 rc3abfcc 1 1 begin 640 bug_newstruct.res.gz 2 M'XL("*%C15@``V)U9U]N97=S=')U8W0N<F5S`%5136O#,`R]YU<(TT,"16W6 3 MKXVT.HQ="F44NGM)DZ88$F=4\O;W9V>KG9TLWM/[0#Y]O.W?`2`G..Q?00D+ 4 MMOJBBN3TQSP1./"LC98T*Q+_`A%<[.ULKM\L=UL)N@E92@FJ!4&8E^B]5659 5 M^HZE1NY'_JLA6=V:TKC@_]R:8#:#$`,LMFD"N\%(I>JSUE^:^[N:JE:SV[5= 6 M5YJ:IU#UY@I2ZE9ET?IY5/`%89`<`IW/Z5=61<B=Z)$!QPB[^QSQ$;8;62P\ 7 KX6-W(Y,E>>V`;GT`)4&Z]1TH;*YBP7R-PQ_X"UM.\ZR8)#\(:IS:N0$````` 2 M'XL(")H`(%H"`V)U9U]N97=S=')U8W0N<F5S`'52RT[#,!"\YRM6AD,K52ZF 3 M3VAK),2E4H4JE7OK.$YJ*;&1O8'?QVZI$PZ<LMGQS.R.??AXV[X#`..PV[X" 4 M08^TUCE998=?Y)%#:!ZUT3@8KK+X!<XA;ZNC4=\>72N1AHIZ%)A8$PZIGM*H 5 M363KT38>"^IM3W]V<295*4PP_HO-.8S'D&S`8UN6"5W0#AJ0ST)_:6\=&9%: 6 M^W"V;1IA"C\":8T"%+HFPTYZV1OPB<*%LDLP>^!7FNQ:(:*;!^R[=LAG3V]F 7 MFY[$)`+1=M,3F?+(O737T8!GB;J.,_!T<M8-R.8TYH".PMV235+[;P`^;!YJ 8 M;2H0<=.PV`L8T2BP92_#)EP#Y`IJ:RKE`,_"``-Y%DY(5.Y*4\Z%+:V4K7.J 9 M`&T@_.:JM$[!U;W6(1VV>(;3_R.<TJ2]M%E(.SZH^%Q:/V##U7WV`RKOQV2& 10 #`@`` 8 11 ` 9 12 end -
Tst/Short/bug_newstruct.stat
r28d883 rc3abfcc 1 1 >> tst_memory_0 :: 1 480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:1404242 1 >> tst_memory_1 :: 1 480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:22282243 1 >> tst_memory_2 :: 1 480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:22282244 1 >> tst_timer_1 :: 1 480942444:4100, 64 bit:4.1.0:x86_64-Linux:nepomuck:11 1 >> tst_memory_0 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:115656 2 1 >> tst_memory_1 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:2215936 3 1 >> tst_memory_2 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:2215936 4 1 >> tst_timer_1 :: 1512046746:4104, 64 bit:4.1.0:x86_64-Linux:nepomuck:1 -
Tst/Short/bug_newstruct.tst
r28d883 rc3abfcc 14 14 P; 15 15 16 // tr. #813 17 newstruct("s","string a"); 18 16 19 tst_status(1);$
Note: See TracChangeset
for help on using the changeset viewer.