diff options
author | Brad King <brad.king@kitware.com> | 2012-08-06 14:07:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-08-08 17:26:27 (GMT) |
commit | 0546484e4b7856c417f30a5b8ff6af6a5a080f0d (patch) | |
tree | 3ef8308e1115129bf5777a65a0525b0e81ff58e4 /Source/cmWhileCommand.cxx | |
parent | 28685ade7a8f60e8519b6bf8a824e6a01365c181 (diff) | |
download | CMake-0546484e4b7856c417f30a5b8ff6af6a5a080f0d.zip CMake-0546484e4b7856c417f30a5b8ff6af6a5a080f0d.tar.gz CMake-0546484e4b7856c417f30a5b8ff6af6a5a080f0d.tar.bz2 |
cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enum
Replace the boolean value that indicates whether an argument is unquoted
or quoted with a generalized enumeration of possible argument types.
For now "Quoted" and "Unquoted" remain the only types.
Diffstat (limited to 'Source/cmWhileCommand.cxx')
-rw-r--r-- | Source/cmWhileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx index 4000345..7d2eead 100644 --- a/Source/cmWhileCommand.cxx +++ b/Source/cmWhileCommand.cxx @@ -49,9 +49,9 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf, unsigned int i; for(i =0; i < this->Args.size(); ++i) { - err += (this->Args[i].Quoted?"\"":""); + err += (this->Args[i].Delim?"\"":""); err += this->Args[i].Value; - err += (this->Args[i].Quoted?"\"":""); + err += (this->Args[i].Delim?"\"":""); err += " "; } err += "("; |