[commit: ghc] ghc-8.2: includes/rts: Drop trailing comma (e84d76d)

git at git.haskell.org git at git.haskell.org
Mon Oct 2 11:27:25 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/e84d76d3258d754e757a19c6e830684887a18a0b/ghc

>---------------------------------------------------------------

commit e84d76d3258d754e757a19c6e830684887a18a0b
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Sep 7 22:49:22 2017 -0400

    includes/rts: Drop trailing comma
    
    This trailing comma snuck in in a recent patch. There is nothing wrong with the
    comma; it's perfectly valid C99, yet nevertheless Mac OS X's dtrace utility
    chokes on it with,
    
        dtrace: failed to compile script rts/RtsProbes.d:
                "includes/rts/EventLogFormat.h", line 245: syntax error near "}"
        make[1]: *** [rts/dist/build/RtsProbes.h] Error 1
    
    (cherry picked from commit be514a694f2cddbb1b23af971430364a223eb894)


>---------------------------------------------------------------

e84d76d3258d754e757a19c6e830684887a18a0b
 includes/rts/EventLogFormat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/rts/EventLogFormat.h b/includes/rts/EventLogFormat.h
index f47e3ea..70c1c8d 100644
--- a/includes/rts/EventLogFormat.h
+++ b/includes/rts/EventLogFormat.h
@@ -240,7 +240,7 @@ typedef enum {
     HEAP_PROF_BREAKDOWN_TYPE_DESCR,
     HEAP_PROF_BREAKDOWN_RETAINER,
     HEAP_PROF_BREAKDOWN_BIOGRAPHY,
-    HEAP_PROF_BREAKDOWN_CLOSURE_TYPE,
+    HEAP_PROF_BREAKDOWN_CLOSURE_TYPE
 } HeapProfBreakdown;
 
 #if !defined(EVENTLOG_CONSTANTS_ONLY)



More information about the ghc-commits mailing list