summaryrefslogtreecommitdiff
path: root/usr.bin/indent/indent.c
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2002-03-16 00:18:20 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2002-03-16 00:18:20 +0000
commit4c5c283cf073623f9b0464c20073bf9d06a63e67 (patch)
treea8b3d2c1600d0fc060229616978d246398e84c28 /usr.bin/indent/indent.c
parentb1e8837124a68ddb3661fbc3728ec994854a0514 (diff)
better error message when we find unmatched braces. (i.e. "braces" is more
precise than "stuff")
Diffstat (limited to 'usr.bin/indent/indent.c')
-rw-r--r--usr.bin/indent/indent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c
index 9f79eb7369c..ea327ba27a6 100644
--- a/usr.bin/indent/indent.c
+++ b/usr.bin/indent/indent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: indent.c,v 1.11 2001/11/19 19:02:14 mpech Exp $ */
+/* $OpenBSD: indent.c,v 1.12 2002/03/16 00:18:19 vincent Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -47,7 +47,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93";*/
-static char rcsid[] = "$OpenBSD: indent.c,v 1.11 2001/11/19 19:02:14 mpech Exp $";
+static char rcsid[] = "$OpenBSD: indent.c,v 1.12 2002/03/16 00:18:19 vincent Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -428,7 +428,7 @@ check_type:
|| s_com != e_com) /* must dump end of line */
dump_line();
if (ps.tos > 1) /* check for balanced braces */
- diag(1, "Stuff missing from end of file.");
+ diag(1, "Missing braces at end of file.");
if (verbose) {
printf("There were %d output lines and %d comments\n",