From 730e15eb743ceb9ed0b7555834206624d04b34a2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 22 Aug 2005 16:11:46 +0000 Subject: [PATCH] Make the example a bit easier to understand, suggested by Jim. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22964 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandLine.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CommandLine.html b/docs/CommandLine.html index 83db04d6ed4..02a5707eec7 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -1714,7 +1714,7 @@ our example, we implement parse as:

while (1) { switch (*End++) { - case 0: return false; // No error + case 0: break; // No error case 'i': // Ignore the 'i' in KiB if people use that case 'b': case 'B': // Ignore B suffix break; @@ -1728,6 +1728,7 @@ our example, we implement parse as:

return O.error(": '" + Arg + "' value invalid for file size argument!"); } } + return false; } -- 2.34.1