summaryrefslogtreecommitdiff
path: root/tnslc/run.ps1
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-05 16:01:33 -0500
committerKyle Gunger <kgunger12@gmail.com>2023-03-05 16:01:33 -0500
commit65793a7933de5da3c4c63bd69d32abe121f7ea30 (patch)
tree8081a7c33080dbda03b0b1f78a9755cad6f6c12c /tnslc/run.ps1
parent7a2fe9afac30082137dd72a072d9a8afbbc45236 (diff)
Get more basic code gen working
+ bitwise and, or, xor + negate values + fix basic variable setting + fix windows based line endings
Diffstat (limited to 'tnslc/run.ps1')
-rw-r--r--tnslc/run.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/run.ps1 b/tnslc/run.ps1
index 15b78f3..620673d 100644
--- a/tnslc/run.ps1
+++ b/tnslc/run.ps1
@@ -1,5 +1,5 @@
if ($args.Length -gt 0) {
- ..\tint.exe -flags """$args""" -in tnslc.tnsl
+ ..\tint.exe -flags "$args" -in tnslc.tnsl
nasm -f win64 -o "$($args[0]).obj" "$($args[0]).asm"
gcc -o "$($args[0]).exe" "$($args[0]).obj"
} else {