aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'edify/parser.yy')
-rw-r--r--edify/parser.yy3
1 files changed, 3 insertions, 0 deletions
diff --git a/edify/parser.yy b/edify/parser.yy
index 97205fe3..b1685eb1 100644
--- a/edify/parser.yy
+++ b/edify/parser.yy
@@ -23,6 +23,8 @@
23#include <string> 23#include <string>
24#include <vector> 24#include <vector>
25 25
26#include <android-base/macros.h>
27
26#include "expr.h" 28#include "expr.h"
27#include "yydefs.h" 29#include "yydefs.h"
28#include "parser.h" 30#include "parser.h"
@@ -121,6 +123,7 @@ arglist: /* empty */ {
121 $$->emplace_back($1); 123 $$->emplace_back($1);
122} 124}
123| arglist ',' expr { 125| arglist ',' expr {
126 UNUSED($1);
124 $$->push_back(std::unique_ptr<Expr>($3)); 127 $$->push_back(std::unique_ptr<Expr>($3));
125} 128}
126; 129;