From d0418c3e8ddb514403ead65994981b8016a6c7c1 Mon Sep 17 00:00:00 2001 From: Antoine Fraboulet Date: Sat, 28 May 2005 20:59:14 +0000 Subject: [PATCH] commit to tag v1.5 --- configure.in | 4 ++-- dic/automaton.c | 4 +--- wxwin/mainframe.cc | 4 +--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/configure.in b/configure.in index 279f9df..c990ea1 100644 --- a/configure.in +++ b/configure.in @@ -3,8 +3,8 @@ dnl Process this file with autoconf to produce a configure script. dnl -------------------------------------------------------------- dnl configure.in for Eliot dnl -------------------------------------------------------------- -dnl AC_REVISION($Id: configure.in,v 1.12 2005/04/27 17:55:32 ipkiss Exp $) -AC_INIT(eliot, 1.5-cvs) +dnl AC_REVISION($Id: configure.in,v 1.13 2005/05/28 20:59:14 afrab Exp $) +AC_INIT(eliot, 1.5) AC_CONFIG_SRCDIR(wxwin/main.cc) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) diff --git a/dic/automaton.c b/dic/automaton.c index 6522449..690bcf6 100644 --- a/dic/automaton.c +++ b/dic/automaton.c @@ -18,7 +18,7 @@ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* - * $Id: automaton.c,v 1.7 2005/05/05 23:45:04 afrab Exp $ + * $Id: automaton.c,v 1.8 2005/05/28 20:59:14 afrab Exp $ */ #include "config.h" @@ -160,14 +160,12 @@ automaton_get_init(automaton a) inline int automaton_get_accept(automaton a, int state) { - assert(0 <= state && state <= a->nstates); return a->accept[state]; } inline int automaton_get_next_state(automaton a, int state, char l) { - assert(0 <= state && state <= a->nstates); return a->trans[state][(int)l]; } diff --git a/wxwin/mainframe.cc b/wxwin/mainframe.cc index d60cc93..9024eb2 100644 --- a/wxwin/mainframe.cc +++ b/wxwin/mainframe.cc @@ -16,7 +16,7 @@ /* along with this program; if not, write to the Free Software */ /* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: mainframe.cc,v 1.8 2005/04/09 16:13:44 afrab Exp $ */ +/* $Id: mainframe.cc,v 1.9 2005/05/28 20:59:14 afrab Exp $ */ #include #include @@ -974,8 +974,6 @@ MainFrame::OnMenuShowFrame(wxCommandEvent& event) int id; id = event.GetId(); - debug("switch display auxframe %d\n", id); - if (!GetMenuBar()->FindItem(id)) return; id -= IDBASE;