diff options
author | ru <ru@FreeBSD.org> | 2002-10-11 08:52:17 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-10-11 08:52:17 +0000 |
commit | 49694bd3ad767a896dc092289a2b59c780a3ba02 (patch) | |
tree | 3ab4ff2268c18cde66cbf296cc57caf69acdea70 /contrib/groff/src/roff/troff/request.h | |
parent | b6731a278e1260409b42bb486cc7592dd1a19203 (diff) | |
parent | 127e61728bacf1fb90edd8be1b0c406619e78bc8 (diff) | |
download | FreeBSD-src-49694bd3ad767a896dc092289a2b59c780a3ba02.zip FreeBSD-src-49694bd3ad767a896dc092289a2b59c780a3ba02.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r104862,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/groff/src/roff/troff/request.h')
-rw-r--r-- | contrib/groff/src/roff/troff/request.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/groff/src/roff/troff/request.h b/contrib/groff/src/roff/troff/request.h index 5654b83..0433ac1 100644 --- a/contrib/groff/src/roff/troff/request.h +++ b/contrib/groff/src/roff/troff/request.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001 +/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) @@ -48,7 +48,8 @@ class macro : public request_or_macro { macro_header *p; const char *filename; // where was it defined? int lineno; - int length; + int len; + int empty_macro; public: macro(); ~macro(); @@ -59,13 +60,16 @@ public: void append_unsigned(unsigned int i); void append_int(int i); void append_str(const char *); + void set(unsigned char, int); + unsigned char get(int); + int length(); void invoke(symbol); macro *to_macro(); void print_size(); int empty(); friend class string_iterator; friend void chop_macro(); - friend void substring_macro(); + friend void substring_request(); friend int operator==(const macro &, const macro &); }; |