Changeset 103560 in git for Singular/grammar.cc


Ignore:
Timestamp:
Jun 10, 2011, 11:56:24 AM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
fd0df1f775c1d3b6f3ad50b19a825bfb5051f3a9
Parents:
ae7cad0b174b23760efd41f0bf7c461c5e33e96a
Message:
redesign of command type, fix tr. 343


git-svn-id: file:///usr/local/Singular/svn/trunk@14272 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/grammar.cc

    rae7cad0 r103560  
    790790    1175,  1179,  1184,  1188,  1192,  1196,  1200,  1204,  1209,  1215,
    791791    1221,  1227,  1233,  1239,  1245,  1251,  1263,  1270,  1274,  1312,
    792     1322,  1335,  1335,  1338,  1410,  1419,  1448,  1461,  1478,  1487,
    793     1492,  1500,  1512,  1531,  1542,  1562,  1586,  1592,  1604,  1611
     792    1322,  1335,  1335,  1338,  1410,  1414,  1443,  1456,  1473,  1482,
     793    1487,  1495,  1507,  1526,  1537,  1557,  1581,  1587,  1599,  1606
    794794};
    795795#endif
     
    33753375#line 1411 "grammar.y"
    33763376    {
    3377             if ((yyvsp[0].lv.e!=NULL)||(yyvsp[0].lv.rtyp!=IDHDL)) yyvsp[0].lv.Print();
    3378             else
    3379             {
    3380               idhdl h = (idhdl)yyvsp[0].lv.data;
    3381               type_cmd(h);
    3382             }
     3377            type_cmd(&(yyvsp[0].lv));
    33833378          ;}
    33843379    break;
    33853380
    33863381  case 155:
    3387 #line 1420 "grammar.y"
     3382#line 1415 "grammar.y"
    33883383    {
    33893384            //Print("typ is %d, rtyp:%d\n",$1.Typ(),$1.rtyp);
     
    34113406
    34123407  case 156:
    3413 #line 1449 "grammar.y"
     3408#line 1444 "grammar.y"
    34143409    {
    34153410            int i; TESTSETINT(yyvsp[-2].lv,i);
     
    34273422
    34283423  case 157:
    3429 #line 1462 "grammar.y"
     3424#line 1457 "grammar.y"
    34303425    {
    34313426            if (currentVoice->ifsw==1)
     
    34473442
    34483443  case 158:
    3449 #line 1479 "grammar.y"
     3444#line 1474 "grammar.y"
    34503445    {
    34513446            int i; TESTSETINT(yyvsp[-2].lv,i);
     
    34593454
    34603455  case 159:
    3461 #line 1488 "grammar.y"
     3456#line 1483 "grammar.y"
    34623457    {
    34633458            if (exitBuffer(BT_break)) YYERROR;
     
    34673462
    34683463  case 160:
    3469 #line 1493 "grammar.y"
     3464#line 1488 "grammar.y"
    34703465    {
    34713466            if (contBuffer(BT_break)) YYERROR;
     
    34753470
    34763471  case 161:
    3477 #line 1501 "grammar.y"
     3472#line 1496 "grammar.y"
    34783473    {
    34793474            /* -> if(!$2) break; $3; continue;*/
     
    34873482
    34883483  case 162:
    3489 #line 1513 "grammar.y"
     3484#line 1508 "grammar.y"
    34903485    {
    34913486            /* $2 */
     
    35063501
    35073502  case 163:
    3508 #line 1532 "grammar.y"
     3503#line 1527 "grammar.y"
    35093504    {
    35103505            procinfov pi;
     
    35203515
    35213516  case 164:
    3522 #line 1543 "grammar.y"
     3517#line 1538 "grammar.y"
    35233518    {
    35243519            idhdl h = enterid(yyvsp[-2].name,myynest,PROC_CMD,&IDROOT,TRUE);
     
    35433538
    35443539  case 165:
    3545 #line 1563 "grammar.y"
     3540#line 1558 "grammar.y"
    35463541    {
    35473542            omFree((ADDRESS)yyvsp[-1].name);
     
    35673562
    35683563  case 166:
    3569 #line 1587 "grammar.y"
     3564#line 1582 "grammar.y"
    35703565    {
    35713566            // decl. of type proc p(int i)
     
    35763571
    35773572  case 167:
    3578 #line 1593 "grammar.y"
     3573#line 1588 "grammar.y"
    35793574    {
    35803575            // decl. of type proc p(i)
     
    35883583
    35893584  case 168:
    3590 #line 1605 "grammar.y"
     3585#line 1600 "grammar.y"
    35913586    {
    35923587            if(iiRETURNEXPR==NULL) YYERROR;
     
    35983593
    35993594  case 169:
    3600 #line 1612 "grammar.y"
     3595#line 1607 "grammar.y"
    36013596    {
    36023597            if (yyvsp[-2].i==RETURN)
     
    36143609
    36153610/* Line 1010 of yacc.c.  */
    3616 #line 3614 "grammar.cc"
     3611#line 3609 "grammar.cc"
    36173612
    36183613
Note: See TracChangeset for help on using the changeset viewer.