Revert my patch which changed the code to not work.
authorChris Lattner <sabre@nondot.org>
Mon, 22 Aug 2005 16:24:25 +0000 (16:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 22 Aug 2005 16:24:25 +0000 (16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22965 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CommandLine.html

index 02a5707eec722e93e52f74f1bf450adb924f3ef5..83db04d6ed4f6a23ba4ad408f329e66957822cc3 100644 (file)
@@ -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>