Changeset db45a2 in git
- Timestamp:
- Aug 10, 2011, 4:02:17 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 1085d42039758a8ec5ff857d7c0b1d53388050e6
- Parents:
- 92d6849100514317f65f8b2200dd0ec32ce68b7c
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-08-10 16:02:17+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:18:26+01:00
- Location:
- Singular
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/grammar.cc
r92d684 rdb45a2 324 324 #include <misc/options.h> 325 325 #include <Singular/stype.h> 326 #include <Singular/fehelp.h> 326 327 #include <Singular/ipid.h> 327 328 #include <misc/intvec.h> … … 788 789 1084, 1097, 1096, 1104, 1109, 1116, 1124, 1136, 1152, 1171, 789 790 1175, 1179, 1184, 1188, 1192, 1196, 1200, 1204, 1209, 1215, 790 1221, 1227, 1233, 1239, 1245, 1251, 1263, 1270, 1274, 131 2,791 132 2, 1335, 1335, 1338, 1410, 1414, 1443, 1456, 1473, 1482,792 148 7, 1495, 1507, 1526, 1537, 1557, 1581, 1587, 1599, 1606791 1221, 1227, 1233, 1239, 1245, 1251, 1263, 1270, 1274, 1311, 792 1321, 1334, 1334, 1337, 1409, 1413, 1442, 1455, 1472, 1481, 793 1486, 1494, 1506, 1525, 1536, 1556, 1580, 1586, 1598, 1605 793 794 }; 794 795 #endif … … 2308 2309 if (strcmp(tmp,yyvsp[0].name)!=0) 2309 2310 { 2310 n lRead(yyvsp[0].name,&n);2311 n_Read(yyvsp[0].name,&n,coeffs_BIGINT); 2311 2312 yyval.lv.rtyp=BIGINT_CMD; 2312 2313 yyval.lv.data = n; … … 3275 3276 3276 3277 case 149: 3277 #line 131 3"grammar.y"3278 #line 1312 "grammar.y" 3278 3279 { 3279 3280 const char *ring_name = yyvsp[0].lv.name; … … 3285 3286 3286 3287 case 150: 3287 #line 132 3"grammar.y"3288 #line 1322 "grammar.y" 3288 3289 { 3289 3290 if ((yyvsp[-1].i!=LIB_CMD)||(iiLibCmd(yyvsp[0].name,TRUE,TRUE,TRUE))) … … 3299 3300 3300 3301 case 153: 3301 #line 133 9"grammar.y"3302 #line 1338 "grammar.y" 3302 3303 { 3303 3304 if ((yyvsp[-1].i==KEEPRING_CMD) && (myynest==0)) … … 3371 3372 3372 3373 case 154: 3373 #line 141 1"grammar.y"3374 #line 1410 "grammar.y" 3374 3375 { 3375 3376 type_cmd(&(yyvsp[0].lv)); … … 3378 3379 3379 3380 case 155: 3380 #line 141 5"grammar.y"3381 #line 1414 "grammar.y" 3381 3382 { 3382 3383 //Print("typ is %d, rtyp:%d\n",$1.Typ(),$1.rtyp); … … 3404 3405 3405 3406 case 156: 3406 #line 144 4"grammar.y"3407 #line 1443 "grammar.y" 3407 3408 { 3408 3409 int i; TESTSETINT(yyvsp[-2].lv,i); … … 3420 3421 3421 3422 case 157: 3422 #line 145 7"grammar.y"3423 #line 1456 "grammar.y" 3423 3424 { 3424 3425 if (currentVoice->ifsw==1) … … 3440 3441 3441 3442 case 158: 3442 #line 147 4"grammar.y"3443 #line 1473 "grammar.y" 3443 3444 { 3444 3445 int i; TESTSETINT(yyvsp[-2].lv,i); … … 3452 3453 3453 3454 case 159: 3454 #line 148 3"grammar.y"3455 #line 1482 "grammar.y" 3455 3456 { 3456 3457 if (exitBuffer(BT_break)) YYERROR; … … 3460 3461 3461 3462 case 160: 3462 #line 148 8"grammar.y"3463 #line 1487 "grammar.y" 3463 3464 { 3464 3465 if (contBuffer(BT_break)) YYERROR; … … 3468 3469 3469 3470 case 161: 3470 #line 149 6"grammar.y"3471 #line 1495 "grammar.y" 3471 3472 { 3472 3473 /* -> if(!$2) break; $3; continue;*/ … … 3480 3481 3481 3482 case 162: 3482 #line 150 8"grammar.y"3483 #line 1507 "grammar.y" 3483 3484 { 3484 3485 /* $2 */ … … 3499 3500 3500 3501 case 163: 3501 #line 152 7"grammar.y"3502 #line 1526 "grammar.y" 3502 3503 { 3503 3504 procinfov pi; … … 3513 3514 3514 3515 case 164: 3515 #line 153 8"grammar.y"3516 #line 1537 "grammar.y" 3516 3517 { 3517 3518 idhdl h = enterid(yyvsp[-2].name,myynest,PROC_CMD,&IDROOT,TRUE); … … 3536 3537 3537 3538 case 165: 3538 #line 155 8"grammar.y"3539 #line 1557 "grammar.y" 3539 3540 { 3540 3541 omFree((ADDRESS)yyvsp[-1].name); … … 3560 3561 3561 3562 case 166: 3562 #line 158 2"grammar.y"3563 #line 1581 "grammar.y" 3563 3564 { 3564 3565 // decl. of type proc p(int i) … … 3569 3570 3570 3571 case 167: 3571 #line 158 8"grammar.y"3572 #line 1587 "grammar.y" 3572 3573 { 3573 3574 // decl. of type proc p(i) … … 3581 3582 3582 3583 case 168: 3583 #line 1 600"grammar.y"3584 #line 1599 "grammar.y" 3584 3585 { 3585 3586 if(iiRETURNEXPR==NULL) YYERROR; … … 3591 3592 3592 3593 case 169: 3593 #line 160 7"grammar.y"3594 #line 1606 "grammar.y" 3594 3595 { 3595 3596 if (yyvsp[-2].i==RETURN) … … 3607 3608 3608 3609 /* Line 1010 of yacc.c. */ 3609 #line 360 9"grammar.cc"3610 #line 3608 "grammar.cc" 3610 3611 3611 3612 -
Singular/grammar.y
r92d684 rdb45a2 20 20 #include <misc/options.h> 21 21 #include <Singular/stype.h> 22 #include <Singular/fehelp.h> 22 23 #include <Singular/ipid.h> 23 24 #include <misc/intvec.h> … … 569 570 if (strcmp(tmp,$1)!=0) 570 571 { 571 n lRead($1,&n);572 n_Read($1,&n,coeffs_BIGINT); 572 573 $$.rtyp=BIGINT_CMD; 573 574 $$.data = n; -
Singular/ipid.cc
r92d684 rdb45a2 40 40 omBin idrec_bin = omGetSpecBin(sizeof(idrec)); 41 41 42 coeffs coeffs_BIGINT; 43 44 FILE *feFilePending; /*temp. storage for grammar.y */ 45 42 46 proclevel *procstack=NULL; 43 47 #define TEST -
Singular/ipid.h
r92d684 rdb45a2 132 132 extern omBin sip_package_bin; 133 133 extern omBin idrec_bin; 134 extern omBin sleftv_bin; 135 136 extern coeffs coeffs_BIGINT; 137 138 extern FILE *feFilePending; /*temp. storage for grammar.y */ 134 139 #endif 135 140 -
Singular/ipshell.h
r92d684 rdb45a2 208 208 #endif 209 209 void rSetHdl(idhdl h); 210 211 #endif 212 210 ring rInit(sleftv* pn, sleftv* rv, sleftv* ord); 211 idhdl rFindHdl(ring r, idhdl n, idhdl w); 212 213 #endif 214 -
Singular/misc_ip.cc
r92d684 rdb45a2 1115 1115 currPackHdl=h; 1116 1116 basePackHdl=h; 1117 coeffs_BIGINT=nInitChar(n_Q,NULL); 1117 1118 1118 1119 // random generator: -----------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.