#include <setjmp.h>
#include "alloc.h"
#include "case.h"
+#include "compiler.h"
#include "dictionary.h"
#include "message.h"
#include "file-handle-def.h"
if (r->ptr == NULL || r->ptr >= r->end)
{
if (!buffer_input (r))
- if (buf_beg != buf)
- lose ((ME, _("%s: Unexpected end of file."),
- fh_get_filename (r->fh)));
+ {
+ if (buf_beg != buf)
+ lose ((ME, _("%s: Unexpected end of file."),
+ fh_get_filename (r->fh)));
+ else
+ return 0;
+ }
}
memcpy (r->x, r->ptr++, sizeof *buf);
p = r->x;