case 81:
/* Line 1464 of yacc.c */
-#line 558 "ntp_parser.y"
- { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Double)); }
+#line 595 "ntp_parser.y"
+ { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); }
+ break;
+
+ case 82:
+
+ /* Line 1464 of yacc.c */
+ #line 560 "ntp_parser.y"
- { (yyval.Attr_val) = create_attr_dval((yyvsp[(1) - (2)].Integer), (double)(yyvsp[(2) - (2)].Integer)); }
++ { (yyval.Attr_val) = create_attr_ival((yyvsp[(1) - (2)].Integer), (yyvsp[(2) - (2)].Integer)); }
break;
case 92:
| tos_option_dbl_keyword number
{ $$ = create_attr_dval($1, $2); }
| T_Cohort boolean
- { $$ = create_attr_ival($1, $2); }
+ { $$ = create_attr_dval($1, (double)$2); }
;
+
tos_option_int_keyword
: T_Ceiling
| T_Floor