Some more SCM/scm_bits_t and SCM-is-union issues.
[bpt/guile.git] / libguile / debug.c
1 /* Debugging extensions for Guile
2 * Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
7 * any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this software; see the file COPYING. If not, write to
16 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
17 * Boston, MA 02111-1307 USA
18 *
19 * As a special exception, the Free Software Foundation gives permission
20 * for additional uses of the text contained in its release of GUILE.
21 *
22 * The exception is that, if you link the GUILE library with other files
23 * to produce an executable, this does not by itself cause the
24 * resulting executable to be covered by the GNU General Public License.
25 * Your use of that executable is in no way restricted on account of
26 * linking the GUILE library code into it.
27 *
28 * This exception does not however invalidate any other reasons why
29 * the executable file might be covered by the GNU General Public License.
30 *
31 * This exception applies only to the code released by the
32 * Free Software Foundation under the name GUILE. If you copy
33 * code from other Free Software Foundation releases into a copy of
34 * GUILE, as the General Public License permits, the exception does
35 * not apply to the code that you add in this way. To avoid misleading
36 * anyone as to the status of such modified files, you must delete
37 * this exception notice from them.
38 *
39 * If you write modifications of your own for GUILE, it is your choice
40 * whether to permit this exception to apply to your modifications.
41 * If you do not wish that, delete this exception notice.
42 *
43 * The author can be reached at djurfeldt@nada.kth.se
44 * Mikael Djurfeldt, SANS/NADA KTH, 10044 STOCKHOLM, SWEDEN */
45
46 /* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
47 gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
48
49
50 #include <stdio.h>
51 #include "_scm.h"
52 #include "eval.h"
53 #include "stackchk.h"
54 #include "throw.h"
55 #include "macros.h"
56 #include "smob.h"
57 #include "procprop.h"
58 #include "srcprop.h"
59 #include "alist.h"
60 #include "continuations.h"
61 #include "strports.h"
62 #include "read.h"
63 #include "feature.h"
64 #include "dynwind.h"
65 #include "modules.h"
66 #include "ports.h"
67 #include "root.h"
68
69 #include "validate.h"
70 #include "debug.h"
71 \f
72
73 /* {Run time control of the debugging evaluator}
74 */
75
76 SCM_DEFINE (scm_debug_options, "debug-options-interface", 0, 1, 0,
77 (SCM setting),
78 "")
79 #define FUNC_NAME s_scm_debug_options
80 {
81 SCM ans;
82 SCM_DEFER_INTS;
83 ans = scm_options (setting,
84 scm_debug_opts,
85 SCM_N_DEBUG_OPTIONS,
86 FUNC_NAME);
87 #ifndef SCM_RECKLESS
88 if (!(1 <= SCM_N_FRAMES && SCM_N_FRAMES <= SCM_MAX_FRAME_SIZE))
89 {
90 scm_options (ans, scm_debug_opts, SCM_N_DEBUG_OPTIONS, FUNC_NAME);
91 SCM_OUT_OF_RANGE (1, setting);
92 }
93 #endif
94 SCM_RESET_DEBUG_MODE;
95 scm_stack_checking_enabled_p = SCM_STACK_CHECKING_P;
96 scm_debug_eframe_size = 2 * SCM_N_FRAMES;
97 SCM_ALLOW_INTS;
98 return ans;
99 }
100 #undef FUNC_NAME
101
102 static void
103 with_traps_before (void *data)
104 {
105 int *trap_flag = data;
106 *trap_flag = SCM_TRAPS_P;
107 SCM_TRAPS_P = 1;
108 }
109
110 static void
111 with_traps_after (void *data)
112 {
113 int *trap_flag = data;
114 SCM_TRAPS_P = *trap_flag;
115 }
116
117 static SCM
118 with_traps_inner (void *data)
119 {
120 SCM thunk = (SCM) data;
121 return scm_apply (thunk, SCM_EOL, SCM_EOL);
122 }
123
124 SCM_DEFINE (scm_with_traps, "with-traps", 1, 0, 0,
125 (SCM thunk),
126 "")
127 #define FUNC_NAME s_scm_with_traps
128 {
129 int trap_flag;
130 SCM_VALIDATE_THUNK (1,thunk);
131 return scm_internal_dynamic_wind (with_traps_before,
132 with_traps_inner,
133 with_traps_after,
134 (void *) thunk,
135 &trap_flag);
136 }
137 #undef FUNC_NAME
138
139 \f
140 static SCM scm_sym_source, scm_sym_dots;
141 static SCM scm_sym_procname;
142
143 /* {Memoized Source}
144 */
145
146 long scm_tc16_memoized;
147
148
149 static int
150 prinmemoized (SCM obj,SCM port,scm_print_state *pstate)
151 {
152 int writingp = SCM_WRITINGP (pstate);
153 scm_puts ("#<memoized ", port);
154 SCM_SET_WRITINGP (pstate, 1);
155 #ifdef GUILE_DEBUG
156 scm_iprin1 (SCM_MEMOIZED_EXP (obj), port, pstate);
157 #else
158 scm_iprin1 (scm_unmemoize (obj), port, pstate);
159 #endif
160 SCM_SET_WRITINGP (pstate, writingp);
161 scm_putc ('>', port);
162 return 1;
163 }
164
165 SCM_DEFINE (scm_memoized_p, "memoized?", 1, 0, 0,
166 (SCM obj),
167 "")
168 #define FUNC_NAME s_scm_memoized_p
169 {
170 return SCM_BOOL(SCM_MEMOIZEDP (obj));
171 }
172 #undef FUNC_NAME
173
174 SCM
175 scm_make_memoized (SCM exp, SCM env)
176 {
177 /* *fixme* Check that env is a valid environment. */
178 register SCM z, ans;
179 SCM_ENTER_A_SECTION;
180 SCM_NEWSMOB (z, SCM_UNPACK (exp), SCM_UNPACK (env));
181 SCM_NEWSMOB (ans, scm_tc16_memoized, SCM_UNPACK (z));
182 SCM_EXIT_A_SECTION;
183 return ans;
184 }
185
186 #ifdef GUILE_DEBUG
187 /*
188 * Some primitives for construction of memoized code
189 *
190 * - procedure: memcons CAR CDR [ENV]
191 *
192 * Construct a pair, encapsulated in a memoized object.
193 *
194 * The CAR and CDR can be either normal or memoized. If ENV isn't
195 * specified, the top-level environment of the current module will
196 * be assumed. All environments must match.
197 *
198 * - procedure: make-gloc VARIABLE [ENV]
199 *
200 * Return a gloc, encapsulated in a memoized object.
201 *
202 * (Glocs can't exist in normal list structures, since they will
203 * be mistaken for structs.)
204 *
205 * - procedure: gloc? OBJECT
206 *
207 * Return #t if OBJECT is a memoized gloc.
208 *
209 * - procedure: make-iloc FRAME BINDING CDRP
210 *
211 * Return an iloc referring to frame no. FRAME, binding
212 * no. BINDING. If CDRP is non-#f, the iloc is referring to a
213 * frame consisting of a single pair, with the value stored in the
214 * CDR.
215 *
216 * - procedure: iloc? OBJECT
217 *
218 * Return #t if OBJECT is an iloc.
219 *
220 * - procedure: mem->proc MEMOIZED
221 *
222 * Construct a closure from the memoized lambda expression MEMOIZED
223 *
224 * WARNING! The code is not copied!
225 *
226 * - procedure: proc->mem CLOSURE
227 *
228 * Turn the closure CLOSURE into a memoized object.
229 *
230 * WARNING! The code is not copied!
231 *
232 * - constant: SCM_IM_AND
233 * - constant: SCM_IM_BEGIN
234 * - constant: SCM_IM_CASE
235 * - constant: SCM_IM_COND
236 * - constant: SCM_IM_DO
237 * - constant: SCM_IM_IF
238 * - constant: SCM_IM_LAMBDA
239 * - constant: SCM_IM_LET
240 * - constant: SCM_IM_LETSTAR
241 * - constant: SCM_IM_LETREC
242 * - constant: SCM_IM_OR
243 * - constant: SCM_IM_QUOTE
244 * - constant: SCM_IM_SET
245 * - constant: SCM_IM_DEFINE
246 * - constant: SCM_IM_APPLY
247 * - constant: SCM_IM_CONT
248 * - constant: SCM_IM_DISPATCH
249 */
250
251 #include "variable.h"
252 #include "procs.h"
253
254 SCM_DEFINE (scm_make_gloc, "make-gloc", 1, 1, 0,
255 (SCM var, SCM env),
256 "")
257 #define FUNC_NAME s_scm_make_gloc
258 {
259 #if 1 /* Unsafe */
260 if (SCM_CONSP (var))
261 var = scm_cons (SCM_BOOL_F, var);
262 else
263 #endif
264 SCM_VALIDATE_VARIABLE (1,var);
265 if (SCM_UNBNDP (env))
266 env = scm_top_level_env (SCM_CDR (scm_top_level_lookup_closure_var));
267 else
268 SCM_VALIDATE_NULLORCONS (2,env);
269 return scm_make_memoized (SCM_VARVCELL (var) + 1, env);
270 }
271 #undef FUNC_NAME
272
273 SCM_DEFINE (scm_gloc_p, "gloc?", 1, 0, 0,
274 (SCM obj),
275 "")
276 #define FUNC_NAME s_scm_gloc_p
277 {
278 return SCM_BOOL((SCM_MEMOIZEDP (obj)
279 && (SCM_UNPACK(SCM_MEMOIZED_EXP (obj)) & 7) == 1));
280 }
281 #undef FUNC_NAME
282
283 SCM_DEFINE (scm_make_iloc, "make-iloc", 3, 0, 0,
284 (SCM frame, SCM binding, SCM cdrp),
285 "")
286 #define FUNC_NAME s_scm_make_iloc
287 {
288 SCM_VALIDATE_INUM (1,frame);
289 SCM_VALIDATE_INUM (2,binding);
290 return (SCM_ILOC00
291 + SCM_IFRINC * SCM_INUM (frame)
292 + (SCM_NFALSEP (cdrp) ? SCM_ICDR : 0)
293 + SCM_IDINC * SCM_INUM (binding));
294 }
295 #undef FUNC_NAME
296
297 SCM_DEFINE (scm_iloc_p, "iloc?", 1, 0, 0,
298 (SCM obj),
299 "")
300 #define FUNC_NAME s_scm_iloc_p
301 {
302 return SCM_BOOL(SCM_ILOCP (obj));
303 }
304 #undef FUNC_NAME
305
306 SCM_DEFINE (scm_memcons, "memcons", 2, 1, 0,
307 (SCM car, SCM cdr, SCM env),
308 "")
309 #define FUNC_NAME s_scm_memcons
310 {
311 if (SCM_MEMOIZEDP (car))
312 {
313 /*fixme* environments may be two different but equal top-level envs */
314 if (!SCM_UNBNDP (env) && SCM_MEMOIZED_ENV (car) != env)
315 SCM_MISC_ERROR ("environment mismatch arg1 <-> arg3",
316 scm_cons2 (car, env, SCM_EOL));
317 else
318 env = SCM_MEMOIZED_ENV (car);
319 car = SCM_MEMOIZED_EXP (car);
320 }
321 if (SCM_MEMOIZEDP (cdr))
322 {
323 if (!SCM_UNBNDP (env) && SCM_MEMOIZED_ENV (cdr) != env)
324 SCM_MISC_ERROR ("environment mismatch arg2 <-> arg3",
325 scm_cons2 (cdr, env, SCM_EOL));
326 else
327 env = SCM_MEMOIZED_ENV (cdr);
328 cdr = SCM_MEMOIZED_EXP (cdr);
329 }
330 if (SCM_UNBNDP (env))
331 env = scm_top_level_env (SCM_CDR (scm_top_level_lookup_closure_var));
332 else
333 SCM_VALIDATE_NULLORCONS (3,env);
334 return scm_make_memoized (scm_cons (car, cdr), env);
335 }
336 #undef FUNC_NAME
337
338 SCM_DEFINE (scm_mem_to_proc, "mem->proc", 1, 0, 0,
339 (SCM obj),
340 "")
341 #define FUNC_NAME s_scm_mem_to_proc
342 {
343 SCM env;
344 SCM_VALIDATE_MEMOIZED (1,obj);
345 env = SCM_MEMOIZED_ENV (obj);
346 obj = SCM_MEMOIZED_EXP (obj);
347 if (!(SCM_NIMP (obj) && SCM_CAR (obj) == SCM_IM_LAMBDA))
348 SCM_MISC_ERROR ("expected lambda expression",
349 scm_cons (obj, SCM_EOL));
350 return scm_closure (SCM_CDR (obj), env);
351 }
352 #undef FUNC_NAME
353
354 SCM_DEFINE (scm_proc_to_mem, "proc->mem", 1, 0, 0,
355 (SCM obj),
356 "")
357 #define FUNC_NAME s_scm_proc_to_mem
358 {
359 SCM_VALIDATE_CLOSURE (1, obj);
360 return scm_make_memoized (scm_cons (SCM_IM_LAMBDA, SCM_CODE (obj)),
361 SCM_ENV (obj));
362 }
363 #undef FUNC_NAME
364
365 #endif /* GUILE_DEBUG */
366
367 SCM_DEFINE (scm_unmemoize, "unmemoize", 1, 0, 0,
368 (SCM m),
369 "")
370 #define FUNC_NAME s_scm_unmemoize
371 {
372 SCM_VALIDATE_MEMOIZED (1,m);
373 return scm_unmemocopy (SCM_MEMOIZED_EXP (m), SCM_MEMOIZED_ENV (m));
374 }
375 #undef FUNC_NAME
376
377 SCM_DEFINE (scm_memoized_environment, "memoized-environment", 1, 0, 0,
378 (SCM m),
379 "")
380 #define FUNC_NAME s_scm_memoized_environment
381 {
382 SCM_VALIDATE_MEMOIZED (1,m);
383 return SCM_MEMOIZED_ENV (m);
384 }
385 #undef FUNC_NAME
386
387 SCM_DEFINE (scm_procedure_name, "procedure-name", 1, 0, 0,
388 (SCM proc),
389 "")
390 #define FUNC_NAME s_scm_procedure_name
391 {
392 SCM_VALIDATE_PROC (1,proc);
393 switch (SCM_TYP7 (proc)) {
394 case scm_tcs_subrs:
395 return SCM_SNAME (proc);
396 default:
397 {
398 SCM name = scm_procedure_property (proc, scm_sym_name);
399 #if 0
400 /* Source property scm_sym_procname not implemented yet... */
401 SCM name = scm_source_property (SCM_CAR (SCM_CDR (SCM_CODE (proc))), scm_sym_procname);
402 if (SCM_FALSEP (name))
403 name = scm_procedure_property (proc, scm_sym_name);
404 #endif
405 if (SCM_FALSEP (name) && SCM_CLOSUREP (proc))
406 name = scm_reverse_lookup (SCM_ENV (proc), proc);
407 return name;
408 }
409 }
410 }
411 #undef FUNC_NAME
412
413 SCM_DEFINE (scm_procedure_source, "procedure-source", 1, 0, 0,
414 (SCM proc),
415 "")
416 #define FUNC_NAME s_scm_procedure_source
417 {
418 SCM_VALIDATE_NIM (1,proc);
419 switch (SCM_TYP7 (proc)) {
420 case scm_tcs_closures:
421 {
422 SCM src;
423 src = scm_source_property (SCM_CDR (SCM_CODE (proc)), scm_sym_copy);
424 if (! SCM_FALSEP (src))
425 return scm_cons2 (scm_sym_lambda, SCM_CAR (SCM_CODE (proc)), src);
426 src = SCM_CODE (proc);
427 return scm_cons (scm_sym_lambda,
428 scm_unmemocopy (src,
429 SCM_EXTEND_ENV (SCM_CAR (src),
430 SCM_EOL,
431 SCM_ENV (proc))));
432 }
433 case scm_tc7_contin:
434 case scm_tcs_subrs:
435 #ifdef CCLO
436 case scm_tc7_cclo:
437 #endif
438 /* It would indeed be a nice thing if we supplied source even for
439 built in procedures! */
440 return scm_procedure_property (proc, scm_sym_source);
441 default:
442 SCM_WTA(1,proc);
443 return 0;
444 }
445 }
446 #undef FUNC_NAME
447
448 SCM_DEFINE (scm_procedure_environment, "procedure-environment", 1, 0, 0,
449 (SCM proc),
450 "")
451 #define FUNC_NAME s_scm_procedure_environment
452 {
453 SCM_VALIDATE_NIM (1,proc);
454 switch (SCM_TYP7 (proc)) {
455 case scm_tcs_closures:
456 return SCM_ENV (proc);
457 case scm_tc7_contin:
458 case scm_tcs_subrs:
459 #ifdef CCLO
460 case scm_tc7_cclo:
461 #endif
462 return SCM_EOL;
463 default:
464 SCM_WTA(1,proc);
465 return 0;
466 }
467 }
468 #undef FUNC_NAME
469
470 \f
471
472 /* Eval in a local environment. We would like to have the ability to
473 * evaluate in a specified local environment, but due to the
474 * memoization this isn't normally possible. We solve it by copying
475 * the code before evaluating. One solution would be to have eval.c
476 * generate yet another evaluator. They are not very big actually.
477 */
478 SCM_DEFINE (scm_local_eval, "local-eval", 1, 1, 0,
479 (SCM exp, SCM env),
480 "Evaluate @var{exp} in its environment. If @var{env} is supplied,\n"
481 "it is the environment in which to evaluate @var{exp}. Otherwise,\n"
482 "@var{exp} must be a memoized code object (in which case, its environment\n"
483 "is implicit).")
484 #define FUNC_NAME s_scm_local_eval
485 {
486 if (SCM_UNBNDP (env))
487 {
488 SCM_VALIDATE_MEMOIZED (1,exp);
489 return scm_eval_3 (SCM_MEMOIZED_EXP (exp), 0, SCM_MEMOIZED_ENV (exp));
490 }
491 return scm_eval_3 (exp, 1, env);
492 }
493 #undef FUNC_NAME
494
495 #if 0
496 SCM_REGISTER_PROC (s_reverse_lookup, "reverse-lookup", 2, 0, 0, scm_reverse_lookup);
497 #endif
498
499 SCM
500 scm_reverse_lookup (SCM env, SCM data)
501 {
502 SCM names, values;
503 while (SCM_NIMP (env) && SCM_SLOPPY_CONSP (SCM_CAR (env)))
504 {
505 names = SCM_CAAR (env);
506 values = SCM_CDAR (env);
507 while (SCM_CONSP (names))
508 {
509 if (SCM_EQ_P (SCM_CAR (values), data))
510 return SCM_CAR (names);
511 names = SCM_CDR (names);
512 values = SCM_CDR (values);
513 }
514 if (! SCM_NULLP (names) && SCM_EQ_P (values, data))
515 return names;
516 env = SCM_CDR (env);
517 }
518 return SCM_BOOL_F;
519 }
520
521 SCM
522 scm_start_stack (SCM id, SCM exp, SCM env)
523 {
524 SCM answer;
525 scm_debug_frame vframe;
526 scm_debug_info vframe_vect_body;
527 vframe.prev = scm_last_debug_frame;
528 vframe.status = SCM_VOIDFRAME;
529 vframe.vect = &vframe_vect_body;
530 vframe.vect[0].id = id;
531 scm_last_debug_frame = &vframe;
532 answer = scm_eval_3 (exp, 1, env);
533 scm_last_debug_frame = vframe.prev;
534 return answer;
535 }
536
537 SCM_SYNTAX(s_start_stack, "start-stack", scm_makacro, scm_m_start_stack);
538
539 static SCM
540 scm_m_start_stack (SCM exp, SCM env)
541 {
542 exp = SCM_CDR (exp);
543 SCM_ASSERT (SCM_ECONSP (exp)
544 && SCM_ECONSP (SCM_CDR (exp))
545 && SCM_NULLP (SCM_CDDR (exp)),
546 exp,
547 SCM_WNA,
548 s_start_stack);
549 return scm_start_stack (scm_eval_car (exp, env), SCM_CADR (exp), env);
550 }
551
552 /* {Debug Objects}
553 *
554 * The debugging evaluator throws these on frame traps.
555 */
556
557 long scm_tc16_debugobj;
558
559 static int
560 prindebugobj (SCM obj,SCM port,scm_print_state *pstate)
561 {
562 scm_puts ("#<debug-object ", port);
563 scm_intprint ((int) SCM_DEBUGOBJ_FRAME (obj), 16, port);
564 scm_putc ('>', port);
565 return 1;
566 }
567
568 SCM_DEFINE (scm_debug_object_p, "debug-object?", 1, 0, 0,
569 (SCM obj),
570 "")
571 #define FUNC_NAME s_scm_debug_object_p
572 {
573 return SCM_BOOL(SCM_DEBUGOBJP (obj));
574 }
575 #undef FUNC_NAME
576
577
578 SCM
579 scm_make_debugobj (scm_debug_frame *frame)
580 {
581 register SCM z;
582 SCM_NEWCELL (z);
583 SCM_ENTER_A_SECTION;
584 SCM_SET_DEBUGOBJ_FRAME (z, frame);
585 SCM_SET_CELL_TYPE (z, scm_tc16_debugobj);
586 SCM_EXIT_A_SECTION;
587 return z;
588 }
589
590 \f
591
592 /* Undocumented debugging procedure */
593 #ifdef GUILE_DEBUG
594 SCM_DEFINE (scm_debug_hang, "debug-hang", 0, 1, 0,
595 (SCM obj),
596 "")
597 #define FUNC_NAME s_scm_debug_hang
598 {
599 int go = 0;
600 while (!go) ;
601 return SCM_UNSPECIFIED;
602 }
603 #undef FUNC_NAME
604 #endif
605
606 \f
607
608 void
609 scm_init_debug ()
610 {
611 scm_init_opts (scm_debug_options, scm_debug_opts, SCM_N_DEBUG_OPTIONS);
612
613 scm_tc16_memoized = scm_make_smob_type_mfpe ("memoized", 0,
614 scm_markcdr, NULL, prinmemoized, NULL);
615
616 scm_tc16_debugobj = scm_make_smob_type_mfpe ("debug-object", 0,
617 NULL, NULL, prindebugobj, NULL);
618
619 scm_sym_procname = SCM_CAR (scm_sysintern ("procname", SCM_UNDEFINED));
620 scm_sym_dots = SCM_CAR (scm_sysintern ("...", SCM_UNDEFINED));
621 scm_sym_source = SCM_CAR (scm_sysintern ("source", SCM_UNDEFINED));
622
623 #ifdef GUILE_DEBUG
624 scm_sysintern ("SCM_IM_AND", SCM_IM_AND);
625 scm_sysintern ("SCM_IM_BEGIN", SCM_IM_BEGIN);
626 scm_sysintern ("SCM_IM_CASE", SCM_IM_CASE);
627 scm_sysintern ("SCM_IM_COND", SCM_IM_COND);
628 scm_sysintern ("SCM_IM_DO", SCM_IM_DO);
629 scm_sysintern ("SCM_IM_IF", SCM_IM_IF);
630 scm_sysintern ("SCM_IM_LAMBDA", SCM_IM_LAMBDA);
631 scm_sysintern ("SCM_IM_LET", SCM_IM_LET);
632 scm_sysintern ("SCM_IM_LETSTAR", SCM_IM_LETSTAR);
633 scm_sysintern ("SCM_IM_LETREC", SCM_IM_LETREC);
634 scm_sysintern ("SCM_IM_OR", SCM_IM_OR);
635 scm_sysintern ("SCM_IM_QUOTE", SCM_IM_QUOTE);
636 scm_sysintern ("SCM_IM_SET_X", SCM_IM_SET_X);
637 scm_sysintern ("SCM_IM_DEFINE", SCM_IM_DEFINE);
638 scm_sysintern ("SCM_IM_APPLY", SCM_IM_APPLY);
639 scm_sysintern ("SCM_IM_CONT", SCM_IM_CONT);
640 scm_sysintern ("SCM_IM_DISPATCH", SCM_IM_DISPATCH);
641 #endif
642 scm_add_feature ("debug-extensions");
643
644 #include "debug.x"
645 }
646
647 /*
648 Local Variables:
649 c-file-style: "gnu"
650 End:
651 */