From fc3a5e13e8980632ca5b9ae589fab11818b4d425 Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Fri, 15 Jan 1999 17:36:31 +0000
Subject: [PATCH] [project @ 1999-01-15 17:36:31 by simonm] - __HASKELL1__ is
 now 5 (was 4).  Surely not the last word in   Haskell98 CPP symbols.

- Fix stats munging for new RTS.
---
 ghc/driver/ghc.lprl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl
index ea51be1a6039..5d4bca7ed698 100644
--- a/ghc/driver/ghc.lprl
+++ b/ghc/driver/ghc.lprl
@@ -370,7 +370,7 @@ require special handling.
 # We need to look in ghc/ and glaExts/ when searching for implicitly needed .hi files, but 
 # we should really *not* look there for explicitly imported modules.
 
-$Haskell1Version = 4; # i.e., Haskell 1.4
+$Haskell1Version = 5; # i.e., Haskell 1.4
 @Cpp_define	 = ();
 
 # Cpp symbols defined when we're processing Haskell source.
@@ -2288,7 +2288,7 @@ sub process_ghc_timings {
     local($tot_samples) = 0;
 
     while (<STATS>) {
-	if (! /Gen:\s+0/ && /^\s*\d+\s+\d+\s+(\d+)\s+\d+\.\d+/ ) {
+	if (! /Gen:\s+0/ && ! /Minor/ && /^\s*\d+\s+\d+\s+(\d+)\s+\d+\.\d+/ ) {
 	 	$max_live = $1 if $max_live < $1;
 		$tot_live += $1;
 		$tot_samples += 1;
-- 
GitLab