From cd8fa55b0ede4488a622b243c9f7793facfcd6eb Mon Sep 17 00:00:00 2001 From: Xavier Mamano Date: Tue, 14 Feb 2012 16:44:36 +0100 Subject: [PATCH] Build: ignore trailing space in @requires dependencies --- tools/mergejs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mergejs.py b/tools/mergejs.py index 5a8ec42b4e..a0b7566af0 100755 --- a/tools/mergejs.py +++ b/tools/mergejs.py @@ -43,7 +43,7 @@ import sys SUFFIX_JAVASCRIPT = ".js" -RE_REQUIRE = "@requires?:? (.*)\n" # TODO: Ensure in comment? +RE_REQUIRE = "@requires?:?\s+(\S*)\s*\n" # TODO: Ensure in comment? class MissingImport(Exception): """Exception raised when a listed import is not found in the lib."""