Bump to 5.8.5

- remove parsing of unary &, it was unused
This commit is contained in:
Jason Turner
2016-10-06 22:32:55 -06:00
parent d1c7645a4e
commit 665125665a
5 changed files with 8 additions and 4 deletions

View File

@@ -99,7 +99,7 @@
namespace chaiscript {
static const int version_major = 5;
static const int version_minor = 8;
static const int version_patch = 4;
static const int version_patch = 5;
static const char *compiler_version = CHAISCRIPT_COMPILER_VERSION;
static const char *compiler_name = CHAISCRIPT_COMPILER_NAME;

View File

@@ -2164,7 +2164,7 @@ namespace chaiscript
/// Reads a unary prefixed expression from input
bool Prefix() {
const auto prev_stack_top = m_match_stack.size();
const std::vector<std::string> prefix_opers{"++", "--", "-", "+", "!", "~", "&"};
const std::vector<std::string> prefix_opers{"++", "--", "-", "+", "!", "~"};
for (const auto &oper : prefix_opers)
{