aboutsummaryrefslogtreecommitdiffstats
path: root/liblll
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-01 08:19:25 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-12-01 00:17:50 +0800
commit99b803cbcbe4f7a0806db12d53cb7152fde490ef (patch)
tree1d621bbf013668dd602cecf23ab1ebd1d46a0f05 /liblll
parenta8696c6d8e1d64f02f65c98818f89532b5694953 (diff)
downloaddexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.tar
dexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.tar.gz
dexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.tar.bz2
dexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.tar.lz
dexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.tar.xz
dexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.tar.zst
dexon-solidity-99b803cbcbe4f7a0806db12d53cb7152fde490ef.zip
LLL: () requires at least one parameter
Diffstat (limited to 'liblll')
-rw-r--r--liblll/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblll/Parser.cpp b/liblll/Parser.cpp
index 4d2736ba..ad5e1885 100644
--- a/liblll/Parser.cpp
+++ b/liblll/Parser.cpp
@@ -109,7 +109,7 @@ void dev::eth::parseTreeLLL(string const& _s, sp::utree& o_out)
qi::rule<it, space_type, sp::utree::list_type()> mstore = '[' > element > ']' > -qi::lit(":") > element;
qi::rule<it, space_type, sp::utree::list_type()> sstore = qi::lit("[[") > element > qi::lit("]]") > -qi::lit(":") > element;
qi::rule<it, space_type, sp::utree::list_type()> calldataload = qi::lit("$") > element;
- qi::rule<it, space_type, sp::utree::list_type()> list = '(' > *element > ')';
+ qi::rule<it, space_type, sp::utree::list_type()> list = '(' > +element > ')';
qi::rule<it, space_type, sp::utree()> extra = sload[tagNode<2>()] | mload[tagNode<1>()] | sstore[tagNode<4>()] | mstore[tagNode<3>()] | seq[tagNode<5>()] | calldataload[tagNode<6>()];
element = atom | list | extra;