From 02887dacfa04901267ae7c25aaf6df17b75a6f76 Mon Sep 17 00:00:00 2001 From: Kevin Glynn Date: Thu, 4 Nov 2010 12:29:38 +0100 Subject: [PATCH] debug show files as they are processed --- CSharpTranslator/antlr3/src/cs2j/CLR/cs2j.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CSharpTranslator/antlr3/src/cs2j/CLR/cs2j.cs b/CSharpTranslator/antlr3/src/cs2j/CLR/cs2j.cs index d4d9221..23ffaa4 100644 --- a/CSharpTranslator/antlr3/src/cs2j/CLR/cs2j.cs +++ b/CSharpTranslator/antlr3/src/cs2j/CLR/cs2j.cs @@ -235,6 +235,7 @@ namespace RusticiSoftware.Translator.CSharp // Here's where we do the real work... public static void addAppSigTranslation(string fullName) { + if (cfg.DebugLevel > 3) Console.Out.WriteLine("Extracting type info from file {0}", fullName); ITreeNodeStream csTree = parseFile(fullName); if (csTree != null) { @@ -250,6 +251,7 @@ namespace RusticiSoftware.Translator.CSharp // Here's where we do the real work... public static void translateFile(string fullName) { + if (cfg.DebugLevel > 3) Console.Out.WriteLine("Translating file {0}", fullName); CommonTreeNodeStream csTree = parseFile(fullName); if (cfg.DumpCSharp) AntlrUtils.AntlrUtils.DumpNodes(csTree);