pspp-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-412-gc3dd7


From: Ben Pfaff
Subject: [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.7.9-412-gc3dd7ac
Date: Sun, 25 Nov 2012 01:50:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".

The branch, master has been updated
       via  c3dd7acbbaca2931e601b6327a39a209f6cc0d9e (commit)
       via  55740f362a5218c87e61858a672540f4909d5e06 (commit)
      from  00175c601a93d7adba981851860fdf9d72ec9119 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c3dd7acbbaca2931e601b6327a39a209f6cc0d9e
Author: Ben Pfaff <address@hidden>
Date:   Sat Nov 24 17:50:05 2012 -0800

    DATA LIST: Accept freefield format types without widths use minimum width.
    
    A user reported that SPSS accepts syntax such as "DATA LIST FREE/
    d (DATETIME)." using a default width for the field with no specified width.
    This commit makes PSPP accept this syntax too, although it does not get
    the width exactly right (please let me know if you figure out how to do
    that).
    
    Bug #30690.
    Reported by Andreas Lappe.

commit 55740f362a5218c87e61858a672540f4909d5e06
Author: Ben Pfaff <address@hidden>
Date:   Sat Nov 24 17:26:38 2012 -0800

    format-parser: Improve error message when format specifier lacks width.
    
    Until now, parse_format_specifier() was willing to parse, e.g. "datetime"
    as a format specifier.  It would then be rejected later by e.g.
    fmt_check_input() with a message like "Input format DATETIME0.0 specifies
    width 0, but DATETIME requires a width between 17 and 40," which makes no
    sense to the user.  This commit improves the error message.

-----------------------------------------------------------------------

Summary of changes:
 src/language/data-io/data-list.c       |   25 ++++++++++++++++++++++---
 src/language/lexer/format-parser.c     |    9 ++++++++-
 tests/language/data-io/data-list.at    |   13 +++++++++++++
 tests/language/expressions/evaluate.at |    2 +-
 4 files changed, 44 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU PSPP



reply via email to

[Prev in Thread] Current Thread [Next in Thread]