diff options
author | Fred Fish <fnf@specifix.com> | 1992-12-09 06:50:30 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-12-09 06:50:30 +0000 |
commit | 22e3975901f39f8e3abbd0ad089e8b4ed50acf7f (patch) | |
tree | cc9a841648447da5517e6ba0519ae17e8f566186 /gdb/m2-lang.h | |
parent | 160be0ded9bb9a7ff6287c3b7094327465085874 (diff) | |
download | binutils-gdb-22e3975901f39f8e3abbd0ad089e8b4ed50acf7f.tar.gz |
* 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 ****
Diffstat (limited to 'gdb/m2-lang.h')
-rw-r--r-- | gdb/m2-lang.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 */ |