summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src/include/errarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/src/include/errarg.h')
-rw-r--r--contrib/groff/src/include/errarg.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/groff/src/include/errarg.h b/contrib/groff/src/include/errarg.h
index 0c7957c..08af44a 100644
--- a/contrib/groff/src/include/errarg.h
+++ b/contrib/groff/src/include/errarg.h
@@ -1,5 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2002 Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -19,10 +19,11 @@ with groff; see the file COPYING. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
class errarg {
- enum { EMPTY, STRING, CHAR, INTEGER, DOUBLE } type;
+ enum { EMPTY, STRING, CHAR, INTEGER, UNSIGNED_INTEGER, DOUBLE } type;
union {
const char *s;
int n;
+ unsigned int u;
char c;
double d;
};
@@ -32,6 +33,7 @@ class errarg {
errarg(char);
errarg(unsigned char);
errarg(int);
+ errarg(unsigned int);
errarg(double);
int empty() const;
void print() const;
@@ -43,4 +45,3 @@ extern void errprint(const char *,
const errarg &arg1 = empty_errarg,
const errarg &arg2 = empty_errarg,
const errarg &arg3 = empty_errarg);
-
OpenPOWER on IntegriCloud