From d8f2ec934b713d006059582720667678b7095254 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Tue, 1 Sep 2009 23:58:36 +0700 Subject: [PATCH] Tokenizer::syntaxError: show details about unlogged syntax error. --- src/tokenize.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tokenize.cpp b/src/tokenize.cpp index c532dbd9a..443db6f68 100644 --- a/src/tokenize.cpp +++ b/src/tokenize.cpp @@ -3503,7 +3503,9 @@ void Tokenizer::syntaxError(const Token *tok, char c) if (!_errorLogger) { - std::cout << "### Unlogged error at Tokenizer::syntaxError" << std::endl; + std::cout << "### Unlogged error at Tokenizer::syntaxError: Invalid number of character (" + << c << ")" + << std::endl; return; }