Merge pull request #2720 from Capostrophic/getitemcount

Accept an extra numerical argument in GetItemCount
pull/2721/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)
{
extensions.registerInstruction ("additem", "clX", opcodeAddItem, opcodeAddItemExplicit);
extensions.registerFunction ("getitemcount", 'l', "c", opcodeGetItemCount,
extensions.registerFunction ("getitemcount", 'l', "cX", opcodeGetItemCount,
opcodeGetItemCountExplicit);
extensions.registerInstruction ("removeitem", "clX", opcodeRemoveItem,
opcodeRemoveItemExplicit);

Loading…
Cancel
Save