Browse Source

BLOCKS API: Fix to the littlefoot compiler crashing on some return statements

tags/2021-05-28
jules 8 years ago
parent
commit
61b24cd152
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h

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

@@ -1559,7 +1559,9 @@ private:
StatementPtr simplify (SyntaxTreeBuilder& stb) override
{
returnValue = returnValue->simplify (stb);
if (returnValue != nullptr)
returnValue = returnValue->simplify (stb);
return this;
}


Loading…
Cancel
Save