aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerContext.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-21 01:39:00 +0800
committerchriseth <chris@ethereum.org>2018-02-21 07:41:39 +0800
commite2bf5de8a278e04623c7bb34a925372039095ba7 (patch)
treeb0d463b41860016abcb67ce152c726a8be5b9089 /libsolidity/codegen/CompilerContext.cpp
parentf5f00b4ee9e6e9038e3b84986ab3ff78504331fd (diff)
downloaddexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.gz
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.tar.zst
dexon-solidity-e2bf5de8a278e04623c7bb34a925372039095ba7.zip
Expect end of string at end of top-level block for assembly parser.
Diffstat (limited to 'libsolidity/codegen/CompilerContext.cpp')
-rw-r--r--libsolidity/codegen/CompilerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index 7a88475a..0198a107 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -319,7 +319,7 @@ void CompilerContext::appendInlineAssembly(
ErrorList errors;
ErrorReporter errorReporter(errors);
auto scanner = make_shared<Scanner>(CharStream(_assembly), "--CODEGEN--");
- auto parserResult = assembly::Parser(errorReporter, assembly::AsmFlavour::Strict).parse(scanner);
+ auto parserResult = assembly::Parser(errorReporter, assembly::AsmFlavour::Strict).parse(scanner, false);
#ifdef SOL_OUTPUT_ASM
cout << assembly::AsmPrinter()(*parserResult) << endl;
#endif