Changeset 665ca8 in git


Ignore:
Timestamp:
Nov 2, 2012, 2:31:04 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b21a664aa22dc6e196223af8a74ad4885e83547c')
Children:
d0b4e7a8ccb0461165a7581a567ade8752125382
Parents:
1ca456de55bbd08ae9296b88bbf5eadfe1465a57
Message:
fix: removed some unsed variables
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/grammar.cc

    r1ca456 r665ca8  
    39463946#line 1532 "grammar.y"
    39473947    {
    3948             procinfov pi;
    39493948            idhdl h = enterid((yyvsp[(2) - (3)].name),myynest,PROC_CMD,&IDROOT,TRUE);
    39503949            if (h==NULL) {omFree((ADDRESS)(yyvsp[(2) - (3)].name));omFree((ADDRESS)(yyvsp[(3) - (3)].name)); YYERROR;}
     
    39723971            char *args=iiProcArgs((yyvsp[(2) - (3)].name),FALSE);
    39733972            omFree((ADDRESS)(yyvsp[(2) - (3)].name));
    3974             procinfov pi;
    39753973            iiInitSingularProcinfo(IDPROC(h),"", (yyvsp[(1) - (3)].name), 0, 0);
    39763974            IDPROC(h)->data.s.body = (char *)omAlloc(strlen((yyvsp[(3) - (3)].name))+strlen(args)+14);;
     
    39983996            char *args=iiProcArgs((yyvsp[(2) - (4)].name),FALSE);
    39993997            omFree((ADDRESS)(yyvsp[(2) - (4)].name));
    4000             procinfov pi;
    40013998            iiInitSingularProcinfo(IDPROC(h),"", (yyvsp[(1) - (4)].name), 0, 0);
    40023999            omFree((ADDRESS)(yyvsp[(1) - (4)].name));
  • Singular/grammar.y

    r1ca456 r665ca8  
    15321532        PROC_CMD extendedid BLOCKTOK
    15331533          {
    1534             procinfov pi;
    15351534            idhdl h = enterid($2,myynest,PROC_CMD,&IDROOT,TRUE);
    15361535            if (h==NULL) {omFree((ADDRESS)$2);omFree((ADDRESS)$3); YYERROR;}
     
    15531552            char *args=iiProcArgs($2,FALSE);
    15541553            omFree((ADDRESS)$2);
    1555             procinfov pi;
    15561554            iiInitSingularProcinfo(IDPROC(h),"", $1, 0, 0);
    15571555            IDPROC(h)->data.s.body = (char *)omAlloc(strlen($3)+strlen(args)+14);;
     
    15741572            char *args=iiProcArgs($2,FALSE);
    15751573            omFree((ADDRESS)$2);
    1576             procinfov pi;
    15771574            iiInitSingularProcinfo(IDPROC(h),"", $1, 0, 0);
    15781575            omFree((ADDRESS)$1);
Note: See TracChangeset for help on using the changeset viewer.