diff options
-rw-r--r-- | gentoobrowse-api/service/utils/lexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/utils/lexer.cpp b/gentoobrowse-api/service/utils/lexer.cpp index 8ed83b8..a3352f8 100644 --- a/gentoobrowse-api/service/utils/lexer.cpp +++ b/gentoobrowse-api/service/utils/lexer.cpp @@ -94,7 +94,7 @@ namespace Gentoo { } } if (!selected) { - throw std::runtime_error(std::string("Unexpected input at ") + (string + es.position)); + throw std::runtime_error(std::string("Unexpected input in state (" + es.getState() + ") at ") + (string + es.position)); } es.pattern = boost::get<1>(*selected); const auto & h = boost::get<2>(*selected); |