diff options
Diffstat (limited to 'src/parser/antlr_input.h')
-rw-r--r-- | src/parser/antlr_input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/antlr_input.h b/src/parser/antlr_input.h index d2d885ce0..ca9b2b747 100644 --- a/src/parser/antlr_input.h +++ b/src/parser/antlr_input.h @@ -223,7 +223,7 @@ inline std::string AntlrInput::tokenTextSubstr(pANTLR3_COMMON_TOKEN token, ANTLR3_MARKER end = token->getStopIndex(token); Assert( start < end ); if( index > (size_t) end - start ) { - stringstream ss; + std::stringstream ss; ss << "Out-of-bounds substring index: " << index; throw std::invalid_argument(ss.str()); } |