aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index d36dd6c..b6cc667 100644
--- a/main.c
+++ b/main.c
@@ -19,7 +19,7 @@ void print_error(char *err_msg, int row, int col) {
fprintf(stderr, "%d:%d: %s\n%s\n",
row, col, err_msg, linebuff);
while (--col) putchar(' ');
- putchar('^');
+ puts("^");
}
int yyerror(char *err_msg) {