projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'rewrite-sheet' of ssh://jmd@git.sv.gnu.org/srv/git/pspp into rewrite...
[pspp]
/
src
/
language
/
syntax-file.c
diff --git
a/src/language/syntax-file.c
b/src/language/syntax-file.c
index 5bd6fafacf50e6a541e4254926e12df4cb67a9d6..678d2f51fa96b9217f6b172d190d7abf4dfbc01f 100644
(file)
--- a/
src/language/syntax-file.c
+++ b/
src/language/syntax-file.c
@@
-20,6
+20,7
@@
#include <stdio.h>
#include <errno.h>
#include <stdio.h>
#include <errno.h>
+#include <stdint.h>
#include <stdlib.h>
#include <data/file-name.h>
#include <stdlib.h>
#include <data/file-name.h>
@@
-99,7
+100,7
@@
read_syntax_file (struct getl_interface *s,
do
{
sfs->ln++;
do
{
sfs->ln++;
- if (!ds_read_line (line, sfs->syntax_file))
+ if (!ds_read_line (line, sfs->syntax_file
, SIZE_MAX
))
{
if (ferror (sfs->syntax_file))
msg (ME, _("Reading `%s': %s."), sfs->fn, strerror (errno));
{
if (ferror (sfs->syntax_file))
msg (ME, _("Reading `%s': %s."), sfs->fn, strerror (errno));
@@
-110,7
+111,7
@@
read_syntax_file (struct getl_interface *s,
while (sfs->ln == 1 && !memcmp (ds_cstr (line), "#!", 2));
/* Echo to listing file, if configured to do so. */
while (sfs->ln == 1 && !memcmp (ds_cstr (line), "#!", 2));
/* Echo to listing file, if configured to do so. */
- if (get_echo ())
+ if (
settings_
get_echo ())
tab_output_text (TAB_LEFT | TAB_FIX, ds_cstr (line));
return true;
tab_output_text (TAB_LEFT | TAB_FIX, ds_cstr (line));
return true;