]> git.saurik.com Git - cycript.git/commitdiff
Macros have to support overriding old definitions.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Jan 2016 20:46:54 +0000 (12:46 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Jan 2016 20:46:54 +0000 (12:46 -0800)
Analyze.cpp

index 466144d1fac5fbcafbc9875a7a41f901ce87df57..1b345f7deec56ee30cfecfd1c08b0d3b32f358e3 100644 (file)
@@ -648,7 +648,7 @@ static CXChildVisitResult CYChildVisit(CXCursor cursor, CXCursor parent, CXClien
 
     {
         CYKey &key(baton.keys[name]);
-        if (key.priority_ < priority) {
+        if (key.priority_ <= priority) {
             key.priority_ = priority;
             key.code_ = value.str();
             key.flags_ = flags;