From: John Darrington Date: Thu, 2 Aug 2007 11:51:52 +0000 (+0000) Subject: Initialize default syntax type. X-Git-Tag: v0.6.0~330 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60fc7f6c520d2193364997bc50008a3a2665e089;p=pspp-builds.git Initialize default syntax type. --- diff --git a/src/language/lexer/lexer.c b/src/language/lexer/lexer.c index 91012451..a20cc175 100644 --- a/src/language/lexer/lexer.c +++ b/src/language/lexer/lexer.c @@ -868,12 +868,12 @@ bool lex_get_line (struct lexer *lexer) { bool line_starts_command; - enum getl_syntax syntax; + enum getl_syntax syntax = GETL_BATCH; if (!lex_get_line_raw (lexer, &syntax)) { lexer->prog = NULL; - return false; + return false; } lex_preprocess_line (&lexer->line_buffer, syntax,