From 396839f8ee8740b970255908e3067142bc08eb9f Mon Sep 17 00:00:00 2001 From: John Date: Fri, 23 Apr 2010 18:01:41 +0000 Subject: [PATCH] put debug statements inside #if DEBUG --- PROMS/DataLoader/TextConvert.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/DataLoader/TextConvert.cs b/PROMS/DataLoader/TextConvert.cs index 4cfd1c10..e7b87027 100644 --- a/PROMS/DataLoader/TextConvert.cs +++ b/PROMS/DataLoader/TextConvert.cs @@ -177,8 +177,10 @@ namespace DataLoader // Convert dash to a non-breaking dash. This is a unicode character. // This character will be used in veproms rather than a dash. //if the dash is preceeded byte a token remove the space following the token +#if DEBUG if (s2.Contains(@"\super ")) Console.WriteLine("Here"); +#endif s2 = Regex.Replace(s2, @"(\\[^ \\?]*) \-", @"$1\u8209?"); s2 = s2.Replace("-", @"\u8209?"); //Remove spaces between comment end nad Next token