version 1.15, 2018/12/31 07:46:07 |
version 1.18, 2021/10/04 14:19:14 |
|
|
/* $Id$ */ |
/* $OpenBSD$ */ |
/* |
/* |
|
* Copyright (c) 2013-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> |
|
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 35 struct roff_man { |
|
Line 35 struct roff_man { |
|
struct ohash *mdocmac; /* Mdoc macro lookup table. */ |
struct ohash *mdocmac; /* Mdoc macro lookup table. */ |
struct ohash *manmac; /* Man macro lookup table. */ |
struct ohash *manmac; /* Man macro lookup table. */ |
const char *os_s; /* Default operating system. */ |
const char *os_s; /* Default operating system. */ |
|
char *os_r; /* Operating system name at run time. */ |
struct roff_node *last; /* The last node parsed. */ |
struct roff_node *last; /* The last node parsed. */ |
struct roff_node *last_es; /* The most recent Es node. */ |
struct roff_node *last_es; /* The most recent Es node. */ |
int quick; /* Abort parse early. */ |
int quick; /* Abort parse early. */ |
Line 54 struct roff_man { |
|
Line 55 struct roff_man { |
|
#define MDOC_PHRASEQF (1 << 13) /* Quote first word encountered. */ |
#define MDOC_PHRASEQF (1 << 13) /* Quote first word encountered. */ |
#define MDOC_PHRASEQL (1 << 14) /* Quote last word of this phrase. */ |
#define MDOC_PHRASEQL (1 << 14) /* Quote last word of this phrase. */ |
#define MDOC_PHRASEQN (1 << 15) /* Quote first word of the next phrase. */ |
#define MDOC_PHRASEQN (1 << 15) /* Quote first word of the next phrase. */ |
|
#define ROFF_NONOFILL (1 << 16) /* Temporarily suspend no-fill mode. */ |
#define MAN_NEWLINE MDOC_NEWLINE |
#define MAN_NEWLINE MDOC_NEWLINE |
enum roff_sec lastsec; /* Last section seen. */ |
enum roff_sec lastsec; /* Last section seen. */ |
enum roff_sec lastnamed; /* Last standard section seen. */ |
enum roff_sec lastnamed; /* Last standard section seen. */ |
enum roff_next next; /* Where to put the next node. */ |
enum roff_next next; /* Where to put the next node. */ |
|
char filesec; /* Section digit in the file name. */ |
}; |
}; |
|
|
|
|