[commit: ghc] master: Fix comment (old file names) in compiler/ (8d60d73)

git at git.haskell.org git at git.haskell.org
Sat Feb 4 10:33:19 UTC 2017


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

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

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

commit 8d60d739489b2f5108b1786a3c2075e2a6062a6b
Author: Takenobu Tani <takenobu.hs at gmail.com>
Date:   Sat Feb 4 10:24:55 2017 +0000

    Fix comment (old file names) in compiler/
    
    [skip ci]
    
    There ware some old file names (.lhs, ...) at comments.
    
    * compiler/ghc.mk
      - prelude/PrimOp.lhs -> prelude/PrimOp.hs
    
    * compiler/parser/cutils.h
      - PrimPacked.lhs -> compiler/utils/FastString.hs
    
    Reviewers: bgamari, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3076


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

8d60d739489b2f5108b1786a3c2075e2a6062a6b
 compiler/ghc.mk          | 2 +-
 compiler/parser/cutils.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index df16483..ce41eca 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -233,7 +233,7 @@ compiler/stage3/$(PLATFORM_H) : compiler/stage2/$(PLATFORM_H)
 	"$(CP)" $< $@
 
 # ----------------------------------------------------------------------------
-#		Generate supporting stuff for prelude/PrimOp.lhs
+#		Generate supporting stuff for prelude/PrimOp.hs
 #		from prelude/primops.txt
 
 PRIMOP_BITS_NAMES = primop-data-decl.hs-incl        \
diff --git a/compiler/parser/cutils.h b/compiler/parser/cutils.h
index 95a10c5..0c8ab12 100644
--- a/compiler/parser/cutils.h
+++ b/compiler/parser/cutils.h
@@ -6,7 +6,7 @@
 
 #include "HsFFI.h"
 
-// Out-of-line string functions, see PrimPacked.lhs
+// Out-of-line string functions, see compiler/utils/FastString.hs
 HsInt ghc_strlen( HsAddr a );
 HsInt ghc_memcmp( HsAddr a1, HsAddr a2, HsInt len );
 



More information about the ghc-commits mailing list