Browse Source

BLOCKS: Fixed a bug in Littlefoot Array assignment

tags/2021-05-28
dimitri Tom Poole 6 years ago
parent
commit
cc67c882ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h

+ 1
- 1
modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h View File

@@ -2144,7 +2144,7 @@ private:
if (auto a = dynamic_cast<ArraySubscript*> (target))
{
cg.emitArrayElementIndex (a, parentBlock, stackDepth, location);
cg.emitArrayElementIndex (a, parentBlock, ++stackDepth, location);
cg.emit (OpCode::setHeapInt);
}
else


Loading…
Cancel
Save