summaryrefslogtreecommitdiff
path: root/ghc/compiler/parser/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/parser/main.c')
-rw-r--r--ghc/compiler/parser/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/compiler/parser/main.c b/ghc/compiler/parser/main.c
index 325c553940..eb1c58ecb4 100644
--- a/ghc/compiler/parser/main.c
+++ b/ghc/compiler/parser/main.c
@@ -24,6 +24,7 @@ main(int argc, char **argv)
{
Lnil = mklnil(); /* The null list -- used in lsing, etc. */
+ argv++; argc--;
process_args(argc,argv);
hash_init();