summaryrefslogtreecommitdiff
path: root/src/ast/item.cpp
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2023-04-03 01:58:15 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-04-03 01:58:15 +0000
commit7980f4d21956314e284448f7dcedd58f9c23b355 (patch)
treebc70b6afa07bec9943d9ec99176637f5a5c1b14a /src/ast/item.cpp
parentc65f380f93e845c8abab8b05d80b91c271d01dbe (diff)
downloadtmwa-7980f4d21956314e284448f7dcedd58f9c23b355.tar.gz
tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.tar.bz2
tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.tar.xz
tmwa-7980f4d21956314e284448f7dcedd58f9c23b355.zip
Item mode
Diffstat (limited to 'src/ast/item.cpp')
-rw-r--r--src/ast/item.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/item.cpp b/src/ast/item.cpp
index d27e231..623f5c6 100644
--- a/src/ast/item.cpp
+++ b/src/ast/item.cpp
@@ -142,6 +142,7 @@ namespace item
SPAN_EXTRACT(TRY_UNWRAP(lex_nonscript(lr, false), return EOL_ERROR(lr)), item.wlv);
SPAN_EXTRACT(TRY_UNWRAP(lex_nonscript(lr, false), return EOL_ERROR(lr)), item.elv);
SPAN_EXTRACT(TRY_UNWRAP(lex_nonscript(lr, false), return EOL_ERROR(lr)), item.view);
+ SPAN_EXTRACT(TRY_UNWRAP(lex_nonscript(lr, false), return EOL_ERROR(lr)), item.mode);
item.use_script = TRY(lex_script(lr));
item.equip_script = TRY(lex_script(lr));
ItemOrComment rv = std::move(item);