sys-file-reader: Accept document records with no document lines.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 29 Jul 2017 23:06:24 +0000 (16:06 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 29 Jul 2017 23:59:01 +0000 (16:59 -0700)
commit8e27b1a0dba7f33b7acb0d8894efe2045b0bb98f
treefc756d447739320065e5f956891d70f344130f17
parent8961943f7492c63ba29cbb61faf698b59aca4ff2
sys-file-reader: Accept document records with no document lines.

This allows PSPP to accept system files that appear to be produced by the
ReadStat software at https://github.com/WizardMac/ReadStat.

Thanks to ftr for reporting this bug via pspp-users at:
http://lists.gnu.org/archive/html/pspp-users/2017-07/msg00002.html
doc/dev/system-file-format.texi
src/data/sys-file-reader.c
tests/data/sys-file-reader.at