mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-06 20:56:54 +00:00
codegen: Exit with error on error generating C structures
This was some left-over during development of C structure generations (the single structure generation was skipped). Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
parent
7abd2b36d9
commit
60e0453698
@ -283,6 +283,7 @@ current:
|
||||
print >> sys.stderr, 'type %s' % t
|
||||
print >> sys.stderr, writer.getvalue()
|
||||
traceback.print_exc(sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
def generate_declarations():
|
||||
writer = codegen.CodeWriter()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user