X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobjcsourcefile.cpp;h=ed334fc17e92b63c4e63f6ddff77911678845d10;hb=HEAD;hp=953819f55daee4ead111b84106455bcdf90e8c1e;hpb=451ef4f33b5a57dcb56bd7cb671bed359ac86247;p=builder.git diff --git a/source/objcsourcefile.cpp b/source/objcsourcefile.cpp deleted file mode 100644 index 953819f..0000000 --- a/source/objcsourcefile.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include "objcsourcefile.h" - -using namespace std; -using namespace Msp; - -void ObjCSourceFile::parse_includes(IO::Base &in) -{ - static Regex r_include("^[ \t]*#(include|import)[ \t]+([\"<].*)[\">]"); - - string line; - while(in.getline(line)) - if(RegMatch match = r_include.match(line)) - includes.push_back(match[2].str); -}