summaryrefslogtreecommitdiffstats
path: root/src/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.y b/src/parser.y
index faa9a33f..26e71e37 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -150,6 +150,7 @@ static void location_update(struct location *loc, struct location *rhs, int n)
%token DASH "-"
%token AT "@"
%token ARROW "=>"
+%token VMAP "vmap"
%token INCLUDE "include"
%token DEFINE "define"
@@ -1206,7 +1207,7 @@ map_expr : concat_expr MAP expr
}
;
-verdict_map_expr : concat_expr MAP expr
+verdict_map_expr : concat_expr VMAP expr
{
$$ = map_expr_alloc(&@$, $1, $3);
}