home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / groff / eqn / eqn.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-08  |  1.7 KB  |  60 lines

  1. /*-
  2.  * This code is derived from software copyrighted by the Free Software
  3.  * Foundation.
  4.  *
  5.  * Modified 1991 by Donn Seeley at UUNET Technologies, Inc.
  6.  *
  7.  *    @(#)eqn.h    6.4 (Berkeley) 5/8/91
  8.  */
  9.  
  10. // -*- C++ -*-
  11. /* Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
  12.      Written by James Clark (jjc@jclark.uucp)
  13.  
  14. This file is part of groff.
  15.  
  16. groff is free software; you can redistribute it and/or modify it under
  17. the terms of the GNU General Public License as published by the Free
  18. Software Foundation; either version 1, or (at your option) any later
  19. version.
  20.  
  21. groff is distributed in the hope that it will be useful, but WITHOUT ANY
  22. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  23. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  24. for more details.
  25.  
  26. You should have received a copy of the GNU General Public License along
  27. with groff; see the file LICENSE.  If not, write to the Free Software
  28. Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  29.  
  30. #include <stdio.h>
  31. #include <string.h>
  32. #include <assert.h>
  33. #include <stdlib.h>
  34. #include <errno.h>
  35. #include "cset.h"
  36. #include "errarg.h"
  37. #include "error.h"
  38. #include "lib.h"
  39.  
  40. #include "box.h"
  41.  
  42. extern char start_delim;
  43. extern char end_delim;
  44. extern int non_empty_flag;
  45. extern int inline_flag;
  46. extern int draw_flag;
  47. extern int one_size_reduction_flag;
  48. extern int compatible_flag;
  49.  
  50. void init_lex(const char *str, const char *filename, int lineno);
  51. void lex_error(const char *message,
  52.            const errarg &arg1 = empty_errarg,
  53.            const errarg &arg2 = empty_errarg,
  54.            const errarg &arg3 = empty_errarg);
  55.  
  56. void init_table(const char *device);
  57.  
  58. // prefix for all registers, strings, macros
  59. #define PREFIX "0"
  60.