1 #include <msp/strings/regex.h>
2 #include "objcsourcefile.h"
7 ObjCSourceFile::ObjCSourceFile(Builder &b, const FS::Path &p):
11 ObjCSourceFile::ObjCSourceFile(Builder &b, const Component &c, const FS::Path &p):
15 void ObjCSourceFile::parse_includes(IO::Base &in)
17 static Regex r_include("^[ \t]*#(include|import)[ \t]+([\"<].*)[\">]");
20 while(in.getline(line))
21 if(RegMatch match = r_include.match(line))
22 includes.push_back(match[2].str);