diff options
author | Dave Barach <dave@barachs.net> | 2017-04-24 10:46:54 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-04-25 16:18:42 +0000 |
commit | 11b8dbf78af49d270a0e72abe7dea73eec30d85f (patch) | |
tree | 5c9c513483f5c468efcb64b82c03c32733dc3a77 /src/tools/vppapigen/gram.y | |
parent | 45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8 (diff) |
"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/tools/vppapigen/gram.y')
-rw-r--r-- | src/tools/vppapigen/gram.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/vppapigen/gram.y b/src/tools/vppapigen/gram.y index de26af8daa0..9cea602391a 100644 --- a/src/tools/vppapigen/gram.y +++ b/src/tools/vppapigen/gram.y @@ -38,7 +38,7 @@ void generate (YYSTYPE); %token NAME RPAR LPAR SEMI LBRACK RBRACK NUMBER PRIMTYPE BARF %token TPACKED DEFINE LCURLY RCURLY STRING UNION %token HELPER_STRING COMMA -%token NOVERSION MANUAL_PRINT MANUAL_ENDIAN TYPEONLY DONT_TRACE +%token NOVERSION MANUAL_PRINT MANUAL_ENDIAN TYPEONLY DONT_TRACE AUTOREPLY %% @@ -64,6 +64,7 @@ flag: | MANUAL_ENDIAN {$$ = $1;} | DONT_TRACE {$$ = $1;} | TYPEONLY {$$ = $1;} + | AUTOREPLY {$$ = $1;} ; defn: DEFINE NAME LCURLY defbody RCURLY SEMI |