Older compiler backport issues

This commit is contained in:
Jason Turner
2015-10-02 12:46:50 -06:00
parent 18e5ee0ba2
commit 9d18360333
3 changed files with 6 additions and 4 deletions

View File

@@ -953,7 +953,7 @@ namespace chaiscript
struct Char_Parser
{
string_type &match;
using char_type = typename string_type::value_type;
typedef typename string_type::value_type char_type;
bool is_escaped;
bool is_interpolated;
bool saw_interpolation_marker;
@@ -1084,7 +1084,7 @@ namespace chaiscript
std::string match;
const auto prev_stack_top = m_match_stack.size();
bool is_interpolated = [&]() {
bool is_interpolated = [&]()->bool {
Char_Parser<std::string> cparser(match, true);