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