aboutsummaryrefslogtreecommitdiff
path: root/gcc/cplus-dem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cplus-dem.c')
-rw-r--r--gcc/cplus-dem.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/cplus-dem.c b/gcc/cplus-dem.c
index ed16c86..8d47c6d 100644
--- a/gcc/cplus-dem.c
+++ b/gcc/cplus-dem.c
@@ -342,7 +342,7 @@ consume_count (type)
}
-/* Like consume_count, but for counts that are preceeded and followed
+/* Like consume_count, but for counts that are preceded and followed
by '_' if they are greater than 10. Also, -1 is returned for
failure, since 0 can be a valid value. */
@@ -3136,6 +3136,15 @@ static struct option long_options[] = {
{0, no_argument, 0, 0}
};
+/* More 'friendly' abort that prints the line and file.
+ config.h can #define abort fancy_abort if you like that sort of thing. */
+
+void
+fancy_abort ()
+{
+ fatal ("Internal gcc abort.");
+}
+
int
main (argc, argv)
int argc;