/contrib/groff/src/preproc/eqn/eqn.h

https://bitbucket.org/freebsd/freebsd-head/ · C++ Header · 50 lines · 23 code · 7 blank · 20 comment · 0 complexity · 2c76d39450ac4053f725757c0c8f77f9 MD5 · raw file

  1. // -*- C++ -*-
  2. /* Copyright (C) 1989, 1990, 1991, 1992, 2001 Free Software Foundation, Inc.
  3. Written by James Clark (jjc@jclark.com)
  4. This file is part of groff.
  5. groff is free software; you can redistribute it and/or modify it under
  6. the terms of the GNU General Public License as published by the Free
  7. Software Foundation; either version 2, or (at your option) any later
  8. version.
  9. groff is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. for more details.
  13. You should have received a copy of the GNU General Public License along
  14. with groff; see the file COPYING. If not, write to the Free Software
  15. Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */
  16. #include "lib.h"
  17. #include <assert.h>
  18. #include <stdlib.h>
  19. #include <errno.h>
  20. #include "cset.h"
  21. #include "errarg.h"
  22. #include "error.h"
  23. #include "box.h"
  24. extern char start_delim;
  25. extern char end_delim;
  26. extern int non_empty_flag;
  27. extern int inline_flag;
  28. extern int draw_flag;
  29. extern int one_size_reduction_flag;
  30. extern int compatible_flag;
  31. extern int nroff;
  32. void init_lex(const char *str, const char *filename, int lineno);
  33. void lex_error(const char *message,
  34. const errarg &arg1 = empty_errarg,
  35. const errarg &arg2 = empty_errarg,
  36. const errarg &arg3 = empty_errarg);
  37. void init_table(const char *device);
  38. // prefix for all registers, strings, macros
  39. #define PREFIX "0"