Merge pull request #2720 from Capostrophic/getitemcount

Accept an extra numerical argument in GetItemCount
pull/558/head
Andrei Kortunov 5 years ago committed by GitHub
commit f603daecdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -116,7 +116,7 @@ namespace Compiler
void registerExtensions (Extensions& extensions) void registerExtensions (Extensions& extensions)
{ {
extensions.registerInstruction ("additem", "clX", opcodeAddItem, opcodeAddItemExplicit); extensions.registerInstruction ("additem", "clX", opcodeAddItem, opcodeAddItemExplicit);
extensions.registerFunction ("getitemcount", 'l', "c", opcodeGetItemCount, extensions.registerFunction ("getitemcount", 'l', "cX", opcodeGetItemCount,
opcodeGetItemCountExplicit); opcodeGetItemCountExplicit);
extensions.registerInstruction ("removeitem", "clX", opcodeRemoveItem, extensions.registerInstruction ("removeitem", "clX", opcodeRemoveItem,
opcodeRemoveItemExplicit); opcodeRemoveItemExplicit);

Loading…
Cancel
Save