mirror of
https://github.com/aphrody-labs/cef.git
synced 2026-10-14 05:09:23 +00:00
tools: Fix implementation generator CLI output
Unpack the CppToC and CToCpp generator results before writing generated content to stdout. This preserves the existing generator return contracts. Add successful CLI regressions that verify exact output, empty stderr, and unchanged input files.
This commit is contained in:
1 parent
66a6bb115d
commit
3abf1e19b0
4 files changed
+36
-18
No files matched your search
@@ -1048,4 +1048,5 @@ if __name__ == "__main__":
|
||||
f.close()
|
||||
|
||||
# dump the result to stdout
|
||||
sys.stdout.write(make_cpptoc_class_impl(header, sys.argv[2], data))
|
||||
result, _ = make_cpptoc_class_impl(header, sys.argv[2], data)
|
||||
sys.stdout.write(result)
|
||||
Reference in new issue
Block a user