mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Fix namespace closing comment order in ddl2cpp script
This commit is contained in:
parent
dd4d023bec
commit
9fc07ef757
@ -460,7 +460,7 @@ def beginHeader(pathToHeader, namespace, nsList):
|
||||
|
||||
|
||||
def endHeader(header, nsList):
|
||||
for ns in nsList:
|
||||
for ns in reversed(nsList):
|
||||
print("} // namespace " + ns, file=header)
|
||||
print("#endif", file=header)
|
||||
header.close()
|
||||
|
@ -162,7 +162,7 @@ def main():
|
||||
print(' };', file=header)
|
||||
|
||||
|
||||
for ns in nsList:
|
||||
for ns in reversed(nsList):
|
||||
print('} // namespace ' + ns, file=header)
|
||||
print('#endif', file=header)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user