1
/* This file is part of Malaga, a system for Natural Language Analysis.
2
* Copyright (C) 1995-1999 Bjoern Beutel
5
* Universitaet Erlangen-Nuernberg
6
* Abteilung fuer Computerlinguistik
9
* e-mail: malaga@linguistik.uni-erlangen.de
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
25
/* description ==============================================================*/
27
/* In this file, the administration of breakpoints is managed. */
29
/* types ====================================================================*/
31
typedef struct /* associates a rule system with a name */
34
string_t name; /* name of the above rule system */
37
/* functions ================================================================*/
39
extern int_t at_breakpoint (rule_sys_t *rule_sys, int_t instruction);
40
/* Return breakpoint number if <instruction> in <rule_sys> hits a breakpoint;
43
extern void init_breakpoints (int_t num_rule_sys, rule_sys_name_t rule_sys[]);
44
/* Initialise this module. Pass the number of rule systems in <num_rule_sys>
45
* and their names in <rule_sys>. */
47
extern void terminate_breakpoints (void);
48
/* Terminate this module. */
50
/* commands =================================================================*/
52
extern command_t delete_command;
53
/* Delete a breakpoint. */
55
extern command_t break_command;
56
/* Define a breakpoint. */
58
extern command_t list_command;
59
/* List breakpoints. */
61
/* end of file ==============================================================*/