X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Flanguage%2Fsyntax-file.c;fp=src%2Flanguage%2Fsyntax-file.c;h=4f667c1284795d84393cdc1d0b9c5355436ee0a6;hb=8381768f3394a907c621cb9acbb77b83f5cd4875;hp=e41466cedd55d180986749cc4a27abc98e7cb9a4;hpb=1e0aeb69e9f246a1448a114919c90b6c86dfcc8d;p=pspp-builds.git diff --git a/src/language/syntax-file.c b/src/language/syntax-file.c index e41466ce..4f667c12 100644 --- a/src/language/syntax-file.c +++ b/src/language/syntax-file.c @@ -78,7 +78,8 @@ line_number (const struct getl_interface *s) /* Reads a line from syntax file source S into LINE. Returns true if successful, false at end of file. */ bool -read_syntax_file (struct getl_interface *s, struct string *line) +read_syntax_file (struct getl_interface *s, + struct string *line, enum getl_syntax *syntax) { struct syntax_file_source *sfs = (struct syntax_file_source *) s; @@ -114,6 +115,7 @@ read_syntax_file (struct getl_interface *s, struct string *line) if (get_echo ()) tab_output_text (TAB_LEFT | TAB_FIX, ds_cstr (line)); + *syntax = GETL_BATCH; return true; }