X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fsyntax-file.c;h=bee12f3d168c2d91ee502fec474ff7cea75d6192;hb=f5c108becd49d78f4898cab11352291f5689d24e;hp=459fee495f7eac54b78ae1411dd80c49d9d24c4a;hpb=7eee0554f378481faf447e2d2e940f389d6b05ec;p=pspp-builds.git diff --git a/src/language/syntax-file.c b/src/language/syntax-file.c index 459fee49..bee12f3d 100644 --- a/src/language/syntax-file.c +++ b/src/language/syntax-file.c @@ -48,7 +48,7 @@ #include -struct syntax_file_source +struct syntax_file_source { struct getl_interface parent ; @@ -97,7 +97,7 @@ read_syntax_file (struct getl_interface *s, /* Read line from file and remove new-line. Skip initial "#! /usr/bin/pspp" line. */ - do + do { sfs->ln++; if (!ds_read_line (line, sfs->syntax_file)) @@ -138,7 +138,7 @@ always_false (const struct getl_interface *s UNUSED) /* Creates a syntax file source with file name FN. */ struct getl_interface * -create_syntax_file_source (const char *fn) +create_syntax_file_source (const char *fn) { struct syntax_file_source *ss = xzalloc (sizeof (*ss));