aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-31 06:49:07 +0800
committerGav Wood <i@gavwood.com>2014-05-31 06:49:07 +0800
commit8c25c35b375b5284505e0004ad741497c222e293 (patch)
tree73e756629a49d309881beb6e6f1914b96cca3512
parentb379ce906530797f0f58569653b648ab64f2968d (diff)
downloaddexon-solidity-8c25c35b375b5284505e0004ad741497c222e293.tar.gz
dexon-solidity-8c25c35b375b5284505e0004ad741497c222e293.tar.zst
dexon-solidity-8c25c35b375b5284505e0004ad741497c222e293.zip
Javascript console and env.load(), env.note, ...
-rw-r--r--Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser.cpp b/Parser.cpp
index 10d2188a..de0a5428 100644
--- a/Parser.cpp
+++ b/Parser.cpp
@@ -75,7 +75,7 @@ void eth::parseTreeLLL(string const& _s, sp::utree& o_out)
qi::rule<it, qi::ascii::space_type, sp::utree()> element;
qi::rule<it, string()> str = '"' > qi::lexeme[+(~qi::char_(std::string("\"") + '\0'))] > '"';
- qi::rule<it, string()> strsh = '\'' > qi::lexeme[+(~qi::char_(std::string(" ;())") + '\0'))];
+ qi::rule<it, string()> strsh = '\'' > qi::lexeme[+(~qi::char_(std::string(" ;@()[]{}:") + '\0'))];
qi::rule<it, symbol_type()> symbol = qi::lexeme[+(~qi::char_(std::string(" @[]{}:();\"\x01-\x1f\x7f") + '\0'))];
qi::rule<it, string()> intstr = qi::lexeme[ qi::no_case["0x"][qi::_val = "0x"] >> *qi::char_("0-9a-fA-F")[qi::_val += qi::_1]] | qi::lexeme[+qi::char_("0-9")[qi::_val += qi::_1]];
qi::rule<it, bigint()> integer = intstr;