[commit: packages/directory] master: Remove unnecessary /**/ hack in T macro (8a3be8a)

git at git.haskell.org git at git.haskell.org
Tue Apr 19 06:57:54 UTC 2016


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

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

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

commit 8a3be8aef7a73efd4ca566d5ade7939eb8b010be
Author: Phil Ruffwind <rf at rufflewind.com>
Date:   Mon Apr 18 08:27:04 2016 -0400

    Remove unnecessary /**/ hack in T macro
    
    It seems to cause problems with certain CPP implementations.


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

8a3be8aef7a73efd4ca566d5ade7939eb8b010be
 tests/util.inl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/util.inl b/tests/util.inl
index 92fc89b..a0c1506 100644
--- a/tests/util.inl
+++ b/tests/util.inl
@@ -1,4 +1,4 @@
-#define T(f) (T./**/f _t __FILE__ __LINE__)
+#define T(f) (T.f _t __FILE__ __LINE__)
 
 import Util (TestEnv)
 import qualified Util as T



More information about the ghc-commits mailing list