aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-25 03:00:59 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-25 03:00:59 -0600
commit6fe532df3d860576b7af7375056cfe2fea27700d (patch)
tree020d5849f04dd2860ffa82d46cc5bb26ea9175ad
parent6aa2e2a969297cc64215d94cf83612cac1644e7f (diff)
downloadreference-compiler-6fe532df3d860576b7af7375056cfe2fea27700d.tar.gz
reference-compiler-6fe532df3d860576b7af7375056cfe2fea27700d.zip
it helps if you write out the correct thing
-rw-r--r--crowbar_reference_compiler/__init__.py4
-rw-r--r--pyproject.toml2
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 <melody@boringcactus.com>"]
license = "BlueOak-1.0.0"