From 22e3975901f39f8e3abbd0ad089e8b4ed50acf7f Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 9 Dec 1992 06:50:30 +0000 Subject: * c-exp.y, m2-exp.y: Migrate code that has nothing to do with expression parsing into c-lang.c and m2-lang.c respectively. * c-lang.c, m2-lang.c: New files, code migrated from c-exp.y and m2-exp.y respectively. * c-lang.h, m2-lang.h: New files, internal interfaces between c-* and m2-* files respectively. * Makefile.in (SFILES_MAINDIR): Add c-lang.c, m2-lang.c. * Makefile.in (HFILES): Add c-lang.h, m2-lang.h. * Makefile.in (OBS): Add c-lang.o, m2-lang.o. * expression.h (struct block): Forward declaration for prototypes. * language.h (struct objfile): Forward declaration for prototypes. **** start-sanitize-chill **** * Makefile.in (SFILES_MAINDIR): Add ch-lang.c. * Makefile.in (HFILES): Add ch-lang.h. * Makefile.in (OBS): Add ch-lang.o. * ch-exp.y: Migrate code that has nothing to do with expression parsing into ch-lang.c. * ch-lang.c: New file, code migrated from c-exp.y. * ch-lang.h: New file, internal interface between ch-* files. **** end-sanitize-chill **** --- gdb/m2-lang.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gdb/m2-lang.h (limited to 'gdb/m2-lang.h') diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h new file mode 100644 index 00000000000..1de31fee894 --- /dev/null +++ b/gdb/m2-lang.h @@ -0,0 +1,24 @@ +/* Modula 2 language support definitions for GDB, the GNU debugger. + Copyright 1992 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +extern int +m2_parse PARAMS ((void)); /* Defined in m2-exp.y */ + +extern void +m2_error PARAMS ((char *)); /* Defined in m2-exp.y */ -- cgit v1.2.1