Skip to content

Handle framework includes properly #20

Description

@shevek

Will this work?

             }
             if (include(quoteincludepath, name))
                 return;
+        } else {
+            int idx = name.indexOf('/');
+            if (idx != -1) {
+                String frameworkName = name.substring(0, idx);
+                String headerName = name.substring(idx + 1);
+                String headerPath = frameworkName + ".framework/Headers/" + headerName;
+                if (include(frameworkspath, headerPath))
+                    return;
+            }
         }

         if (include(sysincludepath, name))

Activity

  1. shevek commented on Sep 11, 2014

    @shevek
    OwnerAuthor

    See framework-includes branch.

  2. shevek commented on Sep 12, 2014

    @shevek
    OwnerAuthor

    Merged.

  3. shevek commented on Sep 12, 2014

    @shevek
    OwnerAuthor

    | * dc18fec (HEAD, origin/master, master) Shevek 2014-09-11 12:22:48 -0700 Handle framework includes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions