[cfe-commits] r163286 - /cfe/trunk/docs/ObjectiveCLiterals.html
Jordan Rose
jordan_rose at apple.com
Wed Sep 5 19:19:13 PDT 2012
Author: jrose
Date: Wed Sep 5 21:19:13 2012
New Revision: 163286
URL: http://llvm.org/viewvc/llvm-project?rev=163286&view=rev
Log:
Fix a mistake in an HTML example code snippet.
Caught by Kurt Arnlund!
Modified:
cfe/trunk/docs/ObjectiveCLiterals.html
Modified: cfe/trunk/docs/ObjectiveCLiterals.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ObjectiveCLiterals.html?rev=163286&r1=163285&r2=163286&view=diff
==============================================================================
--- cfe/trunk/docs/ObjectiveCLiterals.html (original)
+++ cfe/trunk/docs/ObjectiveCLiterals.html Wed Sep 5 21:19:13 2012
@@ -178,7 +178,7 @@
<pre>
// Partition command line arguments into positional and option arguments.
NSMutableArray *args = [NSMutableArray new];
-NSMutableDictionary *options = [NSMutableArray new];
+NSMutableDictionary *options = [NSMutableDictionary new];
while (--argc) {
const char *arg = *++argv;
if (strncmp(arg, "--", 2) == 0) {
More information about the cfe-commits
mailing list