summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/vppapigen/gram.y')
-rw-r--r--src/tools/vppapigen/gram.y3
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