aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-11-19 19:59:53 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2023-11-19 19:59:53 +0200
commit17a27d445295bbaf7c7c470b1e4648635af2f0a3 (patch)
tree2749eacfe577afc1902826a99a4437bfc8419f05 /src/main.c
parent8f754f8b13e55e4bb92d72f105c5aaaba1754b7d (diff)
downloadek-17a27d445295bbaf7c7c470b1e4648635af2f0a3.tar.gz
ek-17a27d445295bbaf7c7c470b1e4648635af2f0a3.zip
first runnable test program
+ tests/pointer_literal.ek compiles down to very simple assembly that tasm can assemble and triscv run with correct results. Whopee + Did notice that void return functions should still have implicit return statements added
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1e8901a..142a575 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,7 +50,7 @@ static void usage()
int main(int argc, char *argv[])
{
int opt;
- const char *output = "e.out";
+ const char *output = "e.t";
while ((opt = getopt(argc, argv, "hI:o:")) != -1) {
switch (opt) {
case 'o':