Remove temporary hack

This commit is contained in:
Nyall Dawson 2024-08-12 20:15:12 +10:00
parent a2048773e7
commit 60d632a400

View File

@ -1479,12 +1479,9 @@ while line_idx < line_count:
) )
exported.pop() exported.pop()
try: if classname:
classname.pop() classname.pop()
class_and_struct.pop() class_and_struct.pop()
except IndexError:
print('arghghghg')
pass
if len(access) == 1: if len(access) == 1:
dbg_info("reached top level") dbg_info("reached top level")
@ -2175,8 +2172,8 @@ if args.sip_output:
f.write(''.join(sip_header_footer())) f.write(''.join(sip_header_footer()))
else: else:
print(''.join(sip_header_footer()) + print(''.join(sip_header_footer()) +
''.join(output) + ''.join(output) +
''.join(sip_header_footer()).rstrip()) ''.join(sip_header_footer()).rstrip())
if args.python_output and output_python: if args.python_output and output_python:
with open(args.python_output, 'w') as f: with open(args.python_output, 'w') as f: