diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-08-22 16:24:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-08-22 16:24:25 +0000 |
| commit | d50b29a2563f87786d2291c34b085e8d3322319d (patch) | |
| tree | 030ff8a2ba60c54e2d8ddafcb8d0535118aaa509 /llvm | |
| parent | 60aba18664f395d71d8f424a7e66eff363a16c29 (diff) | |
| download | bcm5719-llvm-d50b29a2563f87786d2291c34b085e8d3322319d.tar.gz bcm5719-llvm-d50b29a2563f87786d2291c34b085e8d3322319d.zip | |
Revert my patch which changed the code to not work.
llvm-svn: 22965
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/docs/CommandLine.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/docs/CommandLine.html b/llvm/docs/CommandLine.html index 02a5707eec7..83db04d6ed4 100644 --- a/llvm/docs/CommandLine.html +++ b/llvm/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> |

