[commit: ghc] master: Change backslash to vertical bar in comment (d42b0ec)

git at git.haskell.org git
Tue Oct 8 13:05:40 UTC 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d42b0ec6f6a6ca7603c64b29a965d6704fc13d11/ghc

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

commit d42b0ec6f6a6ca7603c64b29a965d6704fc13d11
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Oct 8 14:05:08 2013 +0100

    Change backslash to vertical bar in comment
    
    This is to avoid
    
      rts/sm/Storage.c: In function ?allocate?:
      rts/sm/Storage.c:725:13:
           error: multi-line comment [-Werror=comment]
      cc1: all warnings being treated as errors


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

d42b0ec6f6a6ca7603c64b29a965d6704fc13d11
 rts/sm/Storage.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index d419714..eaf7ddd 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -722,8 +722,8 @@ allocate (Capability *cap, W_ n)
             //            +-+           +-+
             // nursery -> |B| -> ... -> |A| -> ...
             //            +-+           +-+
-            //             \
-            //              CurrentAlloc
+            //             |
+            //             CurrentAlloc
             //
             // The point is to get the block out of the way of the
             // advancing CurrentNursery pointer, while keeping it




More information about the ghc-commits mailing list