diff options
author | Brad King <brad.king@kitware.com> | 2012-08-06 10:07:58 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-08-08 13:26:27 -0400 |
commit | 0546484e4b7856c417f30a5b8ff6af6a5a080f0d (patch) | |
tree | 3ef8308e1115129bf5777a65a0525b0e81ff58e4 /Source/cmWhileCommand.cxx | |
parent | 28685ade7a8f60e8519b6bf8a824e6a01365c181 (diff) | |
download | cmake-0546484e4b7856c417f30a5b8ff6af6a5a080f0d.tar.gz |
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 400034582f..7d2eeadd66 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 += "("; |