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/parsing | |
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/parsing')
-rw-r--r-- | libsolidity/parsing/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp index 05b877b5..e306e21b 100644 --- a/libsolidity/parsing/Parser.cpp +++ b/libsolidity/parsing/Parser.cpp @@ -926,7 +926,7 @@ ASTPointer<InlineAssembly> Parser::parseInlineAssembly(ASTPointer<ASTString> con } assembly::Parser asmParser(m_errorReporter); - shared_ptr<assembly::Block> block = asmParser.parse(m_scanner); + shared_ptr<assembly::Block> block = asmParser.parse(m_scanner, true); nodeFactory.markEndPosition(); return nodeFactory.createNode<InlineAssembly>(_docString, block); } |