From 9a15b4f0be9a23b87fa537b7909852c83ec05f30 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 11 Aug 2009 18:53:45 +0000 Subject: [PATCH] Deactivated debugging code. --- Source/Converter/CHeaderToXML/ESCLParser.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Converter/CHeaderToXML/ESCLParser.cs b/Source/Converter/CHeaderToXML/ESCLParser.cs index 35207b77..059ba259 100644 --- a/Source/Converter/CHeaderToXML/ESCLParser.cs +++ b/Source/Converter/CHeaderToXML/ESCLParser.cs @@ -190,9 +190,6 @@ namespace CHeaderToXML string funcname = null; GetFunctionNameAndType(words, out funcname, out rettype); - if (funcname == "CreateContextFromType") - Debugger.Break(); - var paramaters_string = Regex.Match(line, @"\(.*\)").Captures[0].Value.TrimStart('(').TrimEnd(')'); // This regex matches function parameters. @@ -204,7 +201,11 @@ namespace CHeaderToXML // where [parameter name] can either be inside comments (/* ... */) or not. var get_param = new Regex(@"(\w+\s\(\*\w+\)\s*\(.*\)\s*(/\*.*?\*/|\w+) | (const\s)?\w+\s*\**\s*(/\*.*?\*/|\w+(\[.*?\])?)),?", RegexOptions.IgnorePatternWhitespace); +#if false + if (funcname == "CreateContextFromType") + Debugger.Break(); var ars = get_param.Matches(paramaters_string).OfType().Select(m => m.Captures[0].Value.TrimEnd(',')); +#endif var fun = new