This is an internal-only change.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757988
13f79535-47bb-0310-9956-
ffa450edef68
"map" { return tok_map; }
"list" { return tok_list; }
"set" { return tok_set; }
-"async" { return tok_async; }
+"async" { return tok_oneway; }
"typedef" { return tok_typedef; }
"struct" { return tok_struct; }
"exception" { return tok_xception; }
/**
* Function modifiers
*/
-%token tok_async
+%token tok_oneway
/**
* Thrift language keywords
%type<tstruct> Throws
%type<tservice> Extends
-%type<tbool> Async
+%type<tbool> Oneway
%type<tbool> XsdAll
%type<tbool> XsdOptional
%type<tbool> XsdNillable
}
Function:
- CaptureDocText Async FunctionType tok_identifier '(' FieldList ')' Throws CommaOrSemicolonOptional
+ CaptureDocText Oneway FunctionType tok_identifier '(' FieldList ')' Throws CommaOrSemicolonOptional
{
$6->set_name(std::string($4) + "_args");
$$ = new t_function($3, $4, $6, $8, $2);
}
}
-Async:
- tok_async
+Oneway:
+ tok_oneway
{
$$ = true;
}