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 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 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') diff --git a/pyproject.toml b/pyproject.toml index d7ef861..e24ca81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "crowbar-reference-compiler" -version = "0.0.3" +version = "0.0.4" description = "the reference compiler for the Crowbar programming language" authors = ["Melody Horn "] license = "BlueOak-1.0.0" -- cgit v1.2.3