From 6fe532df3d860576b7af7375056cfe2fea27700d Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 25 Oct 2020 03:00:59 -0600 Subject: it helps if you write out the correct thing --- crowbar_reference_compiler/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crowbar_reference_compiler') diff --git a/crowbar_reference_compiler/__init__.py b/crowbar_reference_compiler/__init__.py index 87f5aa7..d4e7430 100644 --- a/crowbar_reference_compiler/__init__.py +++ b/crowbar_reference_compiler/__init__.py @@ -9,7 +9,7 @@ def main(): import sys args = argparse.ArgumentParser(description='The reference compiler for the Crowbar programming language') - args.add_argument('-V', '--version', action='version', version='%(prog)s 0.0.3') + args.add_argument('-V', '--version', action='version', version='%(prog)s 0.0.4') args.add_argument('-g', '--include-debug-info', action='store_true') args.add_argument('--stop-at-parse-tree', action='store_true') args.add_argument('--stop-at-qbe-ssa', action='store_true') @@ -47,7 +47,7 @@ def main(): if args.out is None: args.out = args.input.replace('.cro', '.o') with open(args.out, 'w', encoding='utf-8') as output_file: - output_file.write(ssa) + output_file.write(asm) return if args.out is None: args.out = args.input.replace('.cro', '.out') -- cgit v1.2.3