From: Dale Weiler Date: Sat, 28 Apr 2012 20:31:30 +0000 (-0400) Subject: lex.c -> lex_init s/lex->line = 0/lex->line = 1/ X-Git-Tag: 0.1-rc1~554^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f697a5f9992b7efffce7f09edb6a837a0fb40bc1;p=xonotic%2Fgmqcc.git lex.c -> lex_init s/lex->line = 0/lex->line = 1/ --- 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;