Deactivated debugging code.

This commit is contained in:
the_fiddler 2009-08-11 18:53:45 +00:00
parent 32278aabe4
commit 9a15b4f0be

View file

@ -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<Match>().Select(m => m.Captures[0].Value.TrimEnd(','));
#endif
var fun =
new