From eb18d01cdd63d67fbccd54a3a336d813826c3ea2 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 30 May 2020 22:39:52 -0300 Subject: [PATCH] copy struct base tag into command base tag --- src/lang.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lang.zig b/src/lang.zig index ff406a9..10df1be 100644 --- a/src/lang.zig +++ b/src/lang.zig @@ -418,6 +418,8 @@ pub const Lang = struct { @field(cmd, cmd_field.name) = argument_value; } + cmd.base.tag = command_struct.base_tag; + try commands.append(cmd.base); }