diff --git a/alib2cli/src/lexer/Lexer.h b/alib2cli/src/lexer/Lexer.h
index 1d7c276be0c289e9a52e376a8667722abe724cdb..2b76413007e512bc478ff2e63ff24595744a7c17 100644
--- a/alib2cli/src/lexer/Lexer.h
+++ b/alib2cli/src/lexer/Lexer.h
@@ -129,6 +129,10 @@ public:
 
 		operator std::string ( ) const {
 			std::string res = Lexer::tokenTypeToString ( m_type );
+
+			if ( m_value.empty ( ) )
+				return res;
+
 			switch ( m_type ) {
 			case TokenType::IDENTIFIER :
 				return res + ": " + m_value;