X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=rpcgen_parse.y;h=652a7f3141de49f4b9b4270508fdfa34b3d9acbe;hb=b92428b2c1588d37e8c1eb42a4548fa3524c6b22;hp=2923325f8c6cf6d0a7c23f67f2fee6e2f8e4ecd7;hpb=f57649da40d0e74c5e8b386590e972846825f434;p=portablexdr.git diff --git a/rpcgen_parse.y b/rpcgen_parse.y index 2923325..652a7f3 100644 --- a/rpcgen_parse.y +++ b/rpcgen_parse.y @@ -59,6 +59,7 @@ extern void yyerror (const char *str); %token SHORT %token INT %token HYPER +%token FLOAT %token DOUBLE %token STRING %token OPAQUE @@ -259,6 +260,8 @@ type_ident { $$ = new_type (type_int, 1, NULL); } | UNSIGNED { $$ = new_type (type_int, 0, NULL); } + | FLOAT + { $$ = new_type (type_float, 0, NULL); } | DOUBLE { $$ = new_type (type_double, 0, NULL); } | BOOL