* EnumProcessor.cs:

* FuncProcessor.cs: Corrected the XPath for signature overrides.
This commit is contained in:
the_fiddler 2010-12-06 11:53:50 +00:00
parent 54f940a82a
commit 4c8ab01b01
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ namespace Bind
{ {
class EnumProcessor class EnumProcessor
{ {
const string Path = "/overrides/replace/enum[@name='{0}']"; const string Path = "/signatures/replace/enum[@name='{0}']";
XPathDocument Overrides { get; set; } XPathDocument Overrides { get; set; }
public EnumProcessor(XPathDocument overrides) public EnumProcessor(XPathDocument overrides)

View file

@ -38,7 +38,7 @@ namespace Bind
{ {
class FuncProcessor class FuncProcessor
{ {
const string Path = "/overrides/replace/function[@name='{0}' and @extension='{1}']"; const string Path = "/signatures/replace/function[@name='{0}' and @extension='{1}']";
static readonly Regex Endings = static readonly Regex Endings =
new Regex(@"((((d|f|fi)|u?[isb])_?v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft); new Regex(@"((((d|f|fi)|u?[isb])_?v?)|v)", RegexOptions.Compiled | RegexOptions.RightToLeft);
static readonly Regex EndingsNotToTrim = static readonly Regex EndingsNotToTrim =