From f697a5f9992b7efffce7f09edb6a837a0fb40bc1 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Sat, 28 Apr 2012 16:31:30 -0400 Subject: [PATCH] lex.c -> lex_init s/lex->line = 0/lex->line = 1/ --- lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lex.c b/lex.c index deee270..c59e51d 100644 --- a/lex.c +++ b/lex.c @@ -48,7 +48,7 @@ void lex_init(const char *file, lex_file **set) { lex->size = lex->length; /* copy, this is never changed */ fseek(lex->file, 0, SEEK_SET); lex->last = 0; - lex->line = 0; + lex->line = 1; memset(lex->peek, 0, sizeof(lex->peek)); *set = lex;