[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.0-37-g693ac9
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.0-37-g693ac90 |
Date: |
Fri, 16 Aug 2013 05:39:46 +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 693ac90cdac91d29870f303b88763a3685b3f341 (commit)
from ab475d5d547f9ece82bf2d6e421a261d4fb68449 (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 693ac90cdac91d29870f303b88763a3685b3f341
Author: Ben Pfaff <address@hidden>
Date: Thu Aug 15 22:35:19 2013 -0700
lexer: Rename LEX_ERROR_INTERACTIVE to LEX_ERROR_TERMINAL, change default
The LEX_ERROR_INTERACTIVE error handling mode really only makes sense for
reading from a terminal, where we know we're getting one line at a time
and not partial lines. Unfortunately LEX_ERROR_INTERACTIVE was the default
and it was getting used as such in the GUI for reading from syntax files.
This meant that if there was an error in the GUI then the current buffer
(which might be any arbitrary chunk of syntax) was being discarded, which
caused terrible confusion.
This commit changes the default to LEX_ERROR_CONTINUE, which works
in a reasonable fashion regardless of the input source. It also renames
LEX_ERROR_INTERACTIVE to LEX_ERROR_TERMINAL to make it clear that that's
the only reasonable use.
Reported by Thambu David <address@hidden>, archived at:
http://lists.gnu.org/archive/html/pspp-users/2013-08/msg00019.html
-----------------------------------------------------------------------
Summary of changes:
NEWS | 11 +++++++----
src/language/data-io/inpt-pgm.c | 2 +-
src/language/lexer/lexer.c | 17 ++++++++---------
src/language/lexer/lexer.h | 4 ++--
src/ui/terminal/main.c | 2 +-
src/ui/terminal/terminal-reader.c | 2 +-
6 files changed, 20 insertions(+), 18 deletions(-)
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.0-37-g693ac90,
Ben Pfaff <=