From 285eeb8edeafae3098e32307600ddc1a8e53426f Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 22 May 2014 09:35:54 +0200 Subject: [PATCH] Fixed gather_sources --- build_tools/gather_sources.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_tools/gather_sources.py b/build_tools/gather_sources.py index ca8c3d1..509f1a4 100644 --- a/build_tools/gather_sources.py +++ b/build_tools/gather_sources.py @@ -131,13 +131,14 @@ The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms. +*/ """ - relimit = r'^(?s)/\*\+.*\+\*/' + relimit = r'^(?s)/\*\+.*\+\*/\n' print("C++ file: %s" % filename) apply_license(license, relimit, filename) def analyze_tree(prefix, t): - for ename,entry in t.items(): + for entry in t.items(): + ename = entry.name if ename == 'external' or ename == 'zobov': continue if type(entry) == Tree: