aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-26 03:29:42 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-26 03:29:42 +0800
commitac1b4ecd8f15f19c775c951b2e5b2f3ce85c2e01 (patch)
treeb03ef7180c90979da641954e37f41c2ff9ab54f9 /main.c
parentaf5df36aa343234c945fa6eae30d9bb03551e1a5 (diff)
...
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) {