Shouldn't all the %type<int> lines be %type<ival>?

-- john


On Sun, Jun 15, 2014 at 10:58 AM, Milton KBenjamin <
miltonkbenja...@verizon.net> wrote:

> miltonkbenja...@verizon.net
>
> Hi All,
>
> y.tab.c file dereferences with .int rather than with .ival
>
> Best
> Milt
>
> y.tab.c file
>
> ...
>   YY_REDUCE_PRINT (yyn);
>   switch (yyn)
>     {
>         case 4:
>
> /* Line 1464 of yacc.c  */
> #line 95 "cfg.y"
>     {(yyval.int)=(yyvsp[(1) - (1)].int); dbg print("SensorId:
> INTEGER=%d\n",(yyvsp[(1) - (1)].int));;}
>     break;
>
>   case 5:
>
> /* Line 1464 of yacc.c  */
> #line 98 "cfg.y"
>     {(yyval.sval)=(yyvsp[(1) - (1)].sval); dbg print("SecurityCode:
> LETTERS=%s\n",(yyvsp[(1) - (1)].sval));;}
>     break;
>
>   case 6:
>
> /* Line 1464 of yacc.c  */
> #line 101 "cfg.y"
>     {(yyval.int)=(yyvsp[(1) - (1)].int);;}
>     break;
>
>   case 7:
>
> /* Line 1464 of yacc.c  */
> #line 102 "cfg.y"
>     {(yyval.int)=(yyvsp[(1) - (1)].int);;}
>     break;
>
>   case 8:

Reply via email to