Ignore:
Timestamp:
Dec 19, 2012, 8:07:44 PM (10 years ago)
Author:
sam
Message:

easymesh: allow central holes in gears as well as internal gears.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/generated/easymesh-parser.cpp

    r2116 r2151  
    708708/* Line 677 of lalr1.cc  */
    709709#line 160 "easymesh/easymesh-parser.y"
    710     { mc.m_mesh.AppendCog((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1, (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3,
    711                                             (yysemantic_stack_[(2) - (2)].args).f4, (yysemantic_stack_[(2) - (2)].args).f5, (yysemantic_stack_[(2) - (2)].args).f6, (int)(yysemantic_stack_[(2) - (2)].args).f7); }
     710    { mc.m_mesh.AppendCog((int)(yysemantic_stack_[(2) - (2)].args).f0, (yysemantic_stack_[(2) - (2)].args).f1,
     711                                 (yysemantic_stack_[(2) - (2)].args).f2 / 2, (yysemantic_stack_[(2) - (2)].args).f3 / 2, (yysemantic_stack_[(2) - (2)].args).f2, (yysemantic_stack_[(2) - (2)].args).f3, (yysemantic_stack_[(2) - (2)].args).f4,
     712                                 (yysemantic_stack_[(2) - (2)].args).f5, (yysemantic_stack_[(2) - (2)].args).f6, (int)(yysemantic_stack_[(2) - (2)].args).f7); }
    712713    break;
    713714
     
    715716
    716717/* Line 677 of lalr1.cc  */
    717 #line 164 "easymesh/easymesh-parser.y"
     718#line 165 "easymesh/easymesh-parser.y"
    718719    { (yyval.args).f0 = (yysemantic_stack_[(1) - (1)].fval); }
    719720    break;
     
    722723
    723724/* Line 677 of lalr1.cc  */
    724 #line 165 "easymesh/easymesh-parser.y"
     725#line 166 "easymesh/easymesh-parser.y"
    725726    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f1 = (yysemantic_stack_[(2) - (2)].fval); }
    726727    break;
     
    729730
    730731/* Line 677 of lalr1.cc  */
    731 #line 166 "easymesh/easymesh-parser.y"
     732#line 167 "easymesh/easymesh-parser.y"
    732733    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f2 = (yysemantic_stack_[(2) - (2)].fval); }
    733734    break;
     
    736737
    737738/* Line 677 of lalr1.cc  */
    738 #line 167 "easymesh/easymesh-parser.y"
     739#line 168 "easymesh/easymesh-parser.y"
    739740    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f3 = (yysemantic_stack_[(2) - (2)].fval); }
    740741    break;
     
    743744
    744745/* Line 677 of lalr1.cc  */
    745 #line 168 "easymesh/easymesh-parser.y"
     746#line 169 "easymesh/easymesh-parser.y"
    746747    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f4 = (yysemantic_stack_[(2) - (2)].fval); }
    747748    break;
     
    750751
    751752/* Line 677 of lalr1.cc  */
    752 #line 169 "easymesh/easymesh-parser.y"
     753#line 170 "easymesh/easymesh-parser.y"
    753754    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f5 = (yysemantic_stack_[(2) - (2)].fval); }
    754755    break;
     
    757758
    758759/* Line 677 of lalr1.cc  */
    759 #line 170 "easymesh/easymesh-parser.y"
     760#line 171 "easymesh/easymesh-parser.y"
    760761    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f6 = (yysemantic_stack_[(2) - (2)].fval); }
    761762    break;
     
    764765
    765766/* Line 677 of lalr1.cc  */
    766 #line 171 "easymesh/easymesh-parser.y"
     767#line 172 "easymesh/easymesh-parser.y"
    767768    { (yyval.args) = (yysemantic_stack_[(2) - (1)].args); (yyval.args).f7 = (yysemantic_stack_[(2) - (2)].fval); }
    768769    break;
     
    771772
    772773/* Line 677 of lalr1.cc  */
    773 #line 174 "easymesh/easymesh-parser.y"
     774#line 175 "easymesh/easymesh-parser.y"
    774775    { (yyval.fval) = (yysemantic_stack_[(1) - (1)].fval); }
    775776    break;
     
    778779
    779780/* Line 677 of lalr1.cc  */
    780 #line 175 "easymesh/easymesh-parser.y"
     781#line 176 "easymesh/easymesh-parser.y"
    781782    { (yyval.fval) = -(yysemantic_stack_[(2) - (2)].fval); }
    782783    break;
     
    785786
    786787/* Line 677 of lalr1.cc  */
    787 #line 788 "generated/easymesh-parser.cpp"
     788#line 789 "generated/easymesh-parser.cpp"
    788789        default:
    789790          break;
     
    12061207     131,   132,   133,   134,   135,   136,   137,   141,   144,   145,
    12071208     147,   149,   151,   152,   153,   155,   157,   158,   159,   160,
    1208      164,   165,   166,   167,   168,   169,   170,   171,   174,   175
     1209     165,   166,   167,   168,   169,   170,   171,   172,   175,   176
    12091210  };
    12101211
     
    12991300
    13001301/* Line 1053 of lalr1.cc  */
    1301 #line 1302 "generated/easymesh-parser.cpp"
     1302#line 1303 "generated/easymesh-parser.cpp"
    13021303
    13031304
    13041305/* Line 1055 of lalr1.cc  */
    1305 #line 178 "easymesh/easymesh-parser.y"
     1306#line 179 "easymesh/easymesh-parser.y"
    13061307
    13071308
Note: See TracChangeset for help on using the changeset viewer.