From 5a4644a14fe3d2ae323f66696f3ba8d453099584 Mon Sep 17 00:00:00 2001 From: simonpj Date: Tue, 1 Jul 2003 10:31:43 +0000 Subject: [PATCH] [project @ 2003-07-01 10:31:43 by simonpj] Wibble to printing HsSyn variables --- ghc/compiler/hsSyn/HsImpExp.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc/compiler/hsSyn/HsImpExp.lhs b/ghc/compiler/hsSyn/HsImpExp.lhs index 52ce08b..9013967 100644 --- a/ghc/compiler/hsSyn/HsImpExp.lhs +++ b/ghc/compiler/hsSyn/HsImpExp.lhs @@ -112,6 +112,7 @@ isOperator ppr_v ('[':s) -> False -- [] ('$':c:s) -> not (isAlpha c) -- Don't treat $d as an operator (':':c:s) -> not (isAlpha c) -- Don't treat :T as an operator + ('_':s) -> False -- Not an operator (c:s) -> not (isAlpha c) -- Starts with non-alpha other -> False -- We use (showSDoc (ppr v)), rather than isSymOcc (getOccName v) simply so -- 1.7.10.4