From 410b76911d11f9cd13bd41ce629057a3c2b7963d Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Wed, 8 Nov 2023 15:06:17 +0100 Subject: [PATCH] Fix typos --- cbits/flags.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cbits/flags.c b/cbits/flags.c index 6824015d7..3f5c016a5 100644 --- a/cbits/flags.c +++ b/cbits/flags.c @@ -222,14 +222,14 @@ __attribute__((constructor)) void process_options(int argc, char *argv[]) * between +ACC ... [-ACC] (similar to the Haskell RTS options). * * First we collect the total number of command-line options. We also - * already what occurs where in the argument list, so that we only have to - * do the complicated parsing once. + * already store what occurs where in the argument list, so that we only have + * to do the complicated parsing once. * * Note that this function may well be called twice; this probably has * something to do with runtime loading of binaries in e.g. * accelerate-llvm-native (but I'm not sure). If so, we have already parsed * out +ACC stuff the first time round, and the GHC RTS has already removed - * the +RTS flags including the -RTS drop-ins that we replaceed the +ACC + * the +RTS flags including the -RTS drop-ins that we replaced the +ACC * arguments with. It does that by reordering arguments so that the non-RTS * ones come first, and by replacing the first not-an-argument-anymore with * NULL.