[commit: ghc] master: Fix primops documentation syntax (96de809)

git at git.haskell.org git at git.haskell.org
Mon Jul 20 16:40:20 UTC 2015


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

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

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

commit 96de8098c58a04dd028d6fc005dafda29c7a13ba
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Mon Jul 20 12:39:54 2015 -0400

    Fix primops documentation syntax


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

96de8098c58a04dd028d6fc005dafda29c7a13ba
 compiler/prelude/primops.txt.pp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index d8ae6d6..6f870c6 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -2447,27 +2447,27 @@ section "Bytecode operations"
 ------------------------------------------------------------------------
 
 primtype BCO#
-   {Primitive bytecode type.}
+   { Primitive bytecode type. }
 
 primop   AddrToAnyOp "addrToAny#" GenPrimOp
    Addr# -> (# a #)
-   {Convert an {\tt Addr\#} to a followable Any type.}
+   { Convert an {\tt Addr\#} to a followable Any type. }
    with
    code_size = 0
 
 primop   MkApUpd0_Op "mkApUpd0#" GenPrimOp
    BCO# -> (# a #)
-   {Wrap a BCO in a {\tt AP_UPD} thunk which will be updated with the vaule of
-   the BCO when evaluated.}
+   { Wrap a BCO in a {\tt AP_UPD} thunk which will be updated with the vaule of
+     the BCO when evaluated. }
    with
    out_of_line = True
 
 primop  NewBCOOp "newBCO#" GenPrimOp
    ByteArray# -> ByteArray# -> Array# a -> Int# -> ByteArray# -> State# s -> (# State# s, BCO# #)
-   {{\tt newBCO\#} instrs lits ptrs arity bitmap} creates a new bytecode object. The
-   resulting object encodes a function of the given arity with the instructions
-   encoded in {\tt instrs}, and a static reference table usage bitmap given by
-   {\tt bitmap}.}
+   { {\tt newBCO\# instrs lits ptrs arity bitmap} creates a new bytecode object. The
+     resulting object encodes a function of the given arity with the instructions
+     encoded in {\tt instrs}, and a static reference table usage bitmap given by
+     {\tt bitmap}. }
    with
    has_side_effects = True
    out_of_line      = True



More information about the ghc-commits mailing list