Fixed compiler error

This commit is contained in:
PKEuS 2012-02-13 18:48:44 +01:00
parent bb319c1c96
commit df0cb89a40
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ std::string Token::strValue() const
{
assert(_str.length() >= 2);
assert(_str[0] == '"');
assert(_str.back() == '"');
assert(_str[_str.length()-1] == '"');
return _str.substr(1, _str.length() - 2);
}