diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-11 14:45:33 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-11 14:45:33 (GMT) |
commit | 039ec75730f46470d7c728a1044acfbce366522a (patch) | |
tree | 1ad367006f17deddc9334afba667842d1f45a7d0 /Source/cmExprParserHelper.cxx | |
parent | 6e64163019f19621058f45b696d5ce02c4db2e74 (diff) | |
download | CMake-039ec75730f46470d7c728a1044acfbce366522a.zip CMake-039ec75730f46470d7c728a1044acfbce366522a.tar.gz CMake-039ec75730f46470d7c728a1044acfbce366522a.tar.bz2 |
STYLE: fix line length
Diffstat (limited to 'Source/cmExprParserHelper.cxx')
-rw-r--r-- | Source/cmExprParserHelper.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Source/cmExprParserHelper.cxx b/Source/cmExprParserHelper.cxx index 1b6852d..bf9d25f 100644 --- a/Source/cmExprParserHelper.cxx +++ b/Source/cmExprParserHelper.cxx @@ -72,7 +72,8 @@ int cmExprParserHelper::ParseString(const char* str, int verb) if ( Verbose ) { - std::cerr << "Expanding [" << str << "] produced: [" << this->Result << "]" << std::endl; + std::cerr << "Expanding [" << str << "] produced: [" + << this->Result << "]" << std::endl; } return 1; } @@ -109,19 +110,8 @@ int cmExprParserHelper::LexInput(char* buf, int maxlen) void cmExprParserHelper::Error(const char* str) { unsigned long pos = static_cast<unsigned long>(this->InputBufferPos); - //fprintf(stderr, "Argument Parser Error: %s (%lu / Line: %d)\n", str, pos, this->CurrentLine); cmOStringStream ostr; ostr << str << " (" << pos << ")"; - /* - int cc; - std::cerr << "String: ["; - for ( cc = 0; cc < 30 && *(this->InputBuffer.c_str() + this->InputBufferPos + cc); - cc ++ ) - { - std::cerr << *(this->InputBuffer.c_str() + this->InputBufferPos + cc); - } - std::cerr << "]" << std::endl; - */ this->ErrorString = ostr.str(); } |