[cfe-commits] [PATCH] Fix bug in pythonbindings SourceLocation.offset

Argyrios Kyrtzidis kyrtzidis at apple.com
Wed Aug 17 10:21:43 PDT 2011


In r137829, thanks!

On Aug 17, 2011, at 6:42 AM, Anders Waldenborg wrote:

> Attatched patch fixes a simple typo - column (c.value) was used
> instead of offset (o.value) - making the offset attribute of
> SourceLocation object return the wrong value.
> 
> The patch also adds a new file with a testcase verifying this
> functionality.
> 
> anders
> <clang-python-SourceLocation-offset-bug.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list