aboutsummaryrefslogtreecommitdiff
path: root/src/compile.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-11-18 20:56:08 -0500
committerFranklin Wei <git@fwei.tk>2015-11-18 20:56:08 -0500
commit3127e63aae54f787e2f55523d9e3b7d5a060d834 (patch)
tree20e78631bed98f8f2bbcbfd82e8dcdfa743ac59b /src/compile.c
parent814fc20cf78a9e10b603fba789be3ccd2830629d (diff)
downloadducky-3127e63aae54f787e2f55523d9e3b7d5a060d834.zip
ducky-3127e63aae54f787e2f55523d9e3b7d5a060d834.tar.gz
ducky-3127e63aae54f787e2f55523d9e3b7d5a060d834.tar.bz2
ducky-3127e63aae54f787e2f55523d9e3b7d5a060d834.tar.xz
barely working ducky-to-C transcompiler
Diffstat (limited to 'src/compile.c')
-rw-r--r--src/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile.c b/src/compile.c
index dee43eb..58abdeb 100644
--- a/src/compile.c
+++ b/src/compile.c
@@ -921,7 +921,7 @@ static int quit_handler(char **save)
static int newline_handler(char **save)
{
(void) save;
- vid_write("\n");
+ write_instr(NEWLINE);
return OK;
}