From b827612c717183b24de2a328e268fa336c9afe74 Mon Sep 17 00:00:00 2001 From: Judah Jacobson Date: Mon, 3 Apr 2017 20:25:55 -0700 Subject: [PATCH] Minor fix to codegen of INLINE pragma. (#85) --- tensorflow-opgen/src/TensorFlow/OpGen.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow-opgen/src/TensorFlow/OpGen.hs b/tensorflow-opgen/src/TensorFlow/OpGen.hs index 2a56c7d..ac1e02d 100644 --- a/tensorflow-opgen/src/TensorFlow/OpGen.hs +++ b/tensorflow-opgen/src/TensorFlow/OpGen.hs @@ -177,7 +177,7 @@ renderOp pOp = stack $ -- to stack calling "-dump-hi" which (unnecessarily) includes the -- inlining information, and is large for ops with many arguments. #if __GLASGOW_HASKELL__ < 800 - , "{-# NOINLINE " <> n <> "#-}" + , "{-# NOINLINE" <+> n <+> "#-}" #endif , n <+> "::" <+> hang 0 (typeSig empty pOp) , n <+> "=" <+> n <> "' id"