Fixed gather_sources

This commit is contained in:
Guilhem Lavaux 2014-05-22 09:35:54 +02:00
parent 29c9536ff1
commit 285eeb8ede

View File

@ -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. knowledge of the CeCILL license and that you accept its terms.
+*/ +*/
""" """
relimit = r'^(?s)/\*\+.*\+\*/' relimit = r'^(?s)/\*\+.*\+\*/\n'
print("C++ file: %s" % filename) print("C++ file: %s" % filename)
apply_license(license, relimit, filename) apply_license(license, relimit, filename)
def analyze_tree(prefix, t): 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': if ename == 'external' or ename == 'zobov':
continue continue
if type(entry) == Tree: if type(entry) == Tree: