Corrected the regular expression because it will skip many includes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2270 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -57,7 +57,7 @@ public class MakeDeps extends Task {
|
||||
//
|
||||
// regular expression for "#include ..." directive
|
||||
//
|
||||
private static final Pattern incPattern = Pattern.compile("[\n\r]+[ \t#]*[ \t]*include[ \t]+[\"<]*([^\n\r\"<>]+)[>\"]*[\n\r]+");
|
||||
private static final Pattern incPattern = Pattern.compile("[\n\r \t#]*include[ \t]+[\"<]*([^\n\r\"<>]+)[>\" \t]*");
|
||||
|
||||
public MakeDeps() {
|
||||
|
||||
|
Reference in New Issue
Block a user