diff options
Diffstat (limited to 'crowbar_reference_compiler')
-rw-r--r-- | crowbar_reference_compiler/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |