summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-12-22 17:45:48 +0100
committerPatrick McHardy <kaber@trash.net>2015-01-11 08:14:08 +0000
commit9e2271940a081214f045341fa521a6231736bae8 (patch)
treef523937a3fc0f1bfd31f50bc42f5497e0bfb4d2d /src/parser_bison.y
parent755d5d4d63450b13e2a0059a63d5cae24c215ac3 (diff)
concat: add concat subtype lookup/id helpers
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index b20f4deb..6c46d098 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -1020,8 +1020,7 @@ type_identifier : identifier
state->msgs);
YYERROR;
}
- $$ <<= TYPE_BITS;
- $$ |= dtype->type;
+ $$ = concat_subtype_add($$, dtype->type);
}
;