aboutsummaryrefslogtreecommitdiffstats
path: root/docs/CommandLine.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-22 16:24:25 +0000
committerChris Lattner <sabre@nondot.org>2005-08-22 16:24:25 +0000
commitce5fcc30ae71ee965dbde2da31e47e05b47ff248 (patch)
treeacc6aa01a202f09785d7b75603ffe0d160d24977 /docs/CommandLine.html
parent730e15eb743ceb9ed0b7555834206624d04b34a2 (diff)
downloadexternal_llvm-ce5fcc30ae71ee965dbde2da31e47e05b47ff248.zip
external_llvm-ce5fcc30ae71ee965dbde2da31e47e05b47ff248.tar.gz
external_llvm-ce5fcc30ae71ee965dbde2da31e47e05b47ff248.tar.bz2
Revert my patch which changed the code to not work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandLine.html')
-rw-r--r--docs/CommandLine.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/CommandLine.html b/docs/CommandLine.html
index 02a5707..83db04d 100644
--- a/docs/CommandLine.html
+++ b/docs/CommandLine.html
@@ -1714,7 +1714,7 @@ our example, we implement <tt>parse</tt> as:</p>
<b>while</b> (1) {
<b>switch</b> (*End++) {
- <b>case</b> 0: break; <i>// No error</i>
+ <b>case</b> 0: <b>return</b> false; <i>// No error</i>
<b>case</b> 'i': <i>// Ignore the 'i' in KiB if people use that</i>
<b>case</b> 'b': <b>case</b> 'B': <i>// Ignore B suffix</i>
<b>break</b>;
@@ -1728,7 +1728,6 @@ our example, we implement <tt>parse</tt> as:</p>
<b>return</b> O.error(": '" + Arg + "' value invalid for file size argument!");
}
}
- <b>return</b> false;
}
</pre></div>