diff options
Diffstat (limited to 'CompilerStack.h')
-rw-r--r-- | CompilerStack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerStack.h b/CompilerStack.h index 9f3f81c0..b003745d 100644 --- a/CompilerStack.h +++ b/CompilerStack.h @@ -36,7 +36,7 @@ class CompilerStack public: /// Compile the given @a _sourceCode to bytecode. If a scanner is provided, it is used for /// scanning the source code - this is useful for printing exception information. - static bytes compile(std::string const& _sourceCode, std::shared_ptr<Scanner> _scanner = std::shared_ptr<Scanner>()); + static bytes compile(std::string const& _sourceCode, std::shared_ptr<Scanner> _scanner = std::shared_ptr<Scanner>(), bool _optimize = false); }; } |