Deactivated debugging code.
This commit is contained in:
parent
32278aabe4
commit
9a15b4f0be
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue