Fixed gather_sources
This commit is contained in:
parent
29c9536ff1
commit
285eeb8ede
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user