diff --git a/spicy/toolchain/src/compiler/parser/parser.yy b/spicy/toolchain/src/compiler/parser/parser.yy index 7d2ee8da5..4c2351085 100644 --- a/spicy/toolchain/src/compiler/parser/parser.yy +++ b/spicy/toolchain/src/compiler/parser/parser.yy @@ -730,7 +730,7 @@ const_uint : CUINTEGER { $$ = $1; } | '+' CUINTEGER { $$ = $2; } unit_field_ctor - : ctor + : ctor { $$ = std::move($1); } | UINT8 '(' const_uint ')' { $$ = hilti::ctor::UnsignedInteger($3, 8, __loc__); } | UINT16 '(' const_uint ')' { $$ = hilti::ctor::UnsignedInteger($3, 16, __loc__); } | UINT32 '(' const_uint ')' { $$ = hilti::ctor::UnsignedInteger($3, 32, __loc__); }