diff options
author | chriseth <chris@ethereum.org> | 2018-02-21 01:39:00 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-02-21 07:41:39 +0800 |
commit | e2bf5de8a278e04623c7bb34a925372039095ba7 (patch) | |
tree | b0d463b41860016abcb67ce152c726a8be5b9089 /libsolidity/codegen/CompilerContext.cpp | |
parent | f5f00b4ee9e6e9038e3b84986ab3ff78504331fd (diff) | |
download | dexon-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.cpp | 2 |
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 |