X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fline-buffer.c;h=24b09b8cd3d4fab225b69720d67934729e46d060;hb=3f2ed1c5fe6dc692ca00bb18a15e41617fa2d37d;hp=aeb99e0a5c77208d1ff353dcb576d96832d15543;hpb=a7a18bd636d11d167c1ebe54c9893a0c23d44bc9;p=pspp-builds.git diff --git a/src/language/line-buffer.c b/src/language/line-buffer.c index aeb99e0a..24b09b8c 100644 --- a/src/language/line-buffer.c +++ b/src/language/line-buffer.c @@ -45,7 +45,7 @@ struct getl_source struct getl_source *next; /* Next file in list. */ /* Current location. */ - char *fn; /* Filename. */ + char *fn; /* File name. */ int ln; /* Line number. */ enum getl_source_type @@ -228,8 +228,8 @@ getl_append_syntax_file (const char *fn) append_source (create_syntax_file_source (fn)); } -/* Inserts the given file with filename FN into the current file after - the current line. */ +/* Inserts the given file with name FN into the current file + after the current line. */ void getl_include_syntax_file (const char *fn) { @@ -427,7 +427,7 @@ err_location (struct file_locator *f) if (nfile_loc) *f = *file_loc[nfile_loc - 1]; else - getl_location (&f->filename, &f->line_number); + getl_location (&f->file_name, &f->line_number); } /* Reads a line from syntax file source S into LINE.