commit | 12b85530ac8623eb09b0d80aed8843a4ea8a9053 | [log] [tgz] |
---|---|---|
author | Dave MacLachlan <dmaclach@google.com> | Tue Feb 10 05:13:57 2015 |
committer | Dave MacLachlan <dmaclach@google.com> | Tue Feb 10 05:20:00 2015 |
tree | 8435106412c8a531c6b77d2081e06f43e0ce5931 | |
parent | 251fdf15e54b2ba4bc1dcd8aa5414562a436388f [diff] |
Fix for objective c methods
diff --git a/bloat.py b/bloat.py index afc214b..d34458e 100755 --- a/bloat.py +++ b/bloat.py
@@ -183,6 +183,9 @@ not (val[8].isalnum() or val[8] == '_')): # Operator overload function, terminate. return (val, '') + if (val.startswith('-[') or val.startswith('+[')): + # Objective C method + return (val, '') co = val.find('::') lt = val.find('<') pa = val.find('(')