aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 23:05:21 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 23:05:21 +0000
commit4a9a5bd5431e071c38e206580be6f1729dc2d2b7 (patch)
treee524efd7a1f1203e6720830d2ae45950aa6594af /macro.c
parent073b729fad16967c5cb97cb3aa314b058e3de113 (diff)
downloadmandoc-4a9a5bd5431e071c38e206580be6f1729dc2d2b7.tar.gz
mandoc-4a9a5bd5431e071c38e206580be6f1729dc2d2b7.tar.zst
mandoc-4a9a5bd5431e071c38e206580be6f1729dc2d2b7.zip
Made syste-name macros callable (At, Bsx, etc.).
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/macro.c b/macro.c
index 20aac15b..2953e26c 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.70 2009/03/12 16:30:50 kristaps Exp $ */
+/* $Id: macro.c,v 1.71 2009/03/12 23:05:21 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -128,13 +128,13 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Ac */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Ao */
{ macro_scoped_line, MDOC_CALLABLE | MDOC_PARSED }, /* Aq */
- { macro_constant_delimited, 0 }, /* At */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* At */
{ macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Bc */
{ macro_scoped, MDOC_EXPLICIT }, /* Bf */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Bo */
{ macro_scoped_line, MDOC_CALLABLE | MDOC_PARSED }, /* Bq */
- { macro_constant_delimited, MDOC_PARSED }, /* Bsx */
- { macro_constant_delimited, MDOC_PARSED }, /* Bx */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Bsx */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Bx */
{ macro_constant, 0 }, /* Db */
{ macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Dc */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Do */
@@ -143,12 +143,12 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ macro_scoped_close, MDOC_EXPLICIT }, /* Ef */
{ macro_text, MDOC_CALLABLE | MDOC_PARSED }, /* Em */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Eo */
- { macro_constant_delimited, MDOC_PARSED }, /* Fx */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Fx */
{ macro_text, MDOC_PARSED }, /* Ms */
{ macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* No */
{ macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ns */
- { macro_constant_delimited, MDOC_PARSED }, /* Nx */
- { macro_constant_delimited, MDOC_PARSED }, /* Ox */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Nx */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ox */
{ macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Pc */
{ macro_constant_delimited, MDOC_PARSED }, /* Pf */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Po */
@@ -166,7 +166,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ macro_text, MDOC_CALLABLE | MDOC_PARSED }, /* Sx */
{ macro_text, MDOC_CALLABLE | MDOC_PARSED }, /* Sy */
{ macro_text, MDOC_CALLABLE | MDOC_PARSED }, /* Tn */
- { macro_constant_delimited, MDOC_PARSED }, /* Ux */
+ { macro_constant_delimited, MDOC_CALLABLE | MDOC_PARSED }, /* Ux */
{ macro_scoped_close, MDOC_EXPLICIT | MDOC_CALLABLE | MDOC_PARSED }, /* Xc */
{ macro_constant_scoped, MDOC_CALLABLE | MDOC_PARSED | MDOC_EXPLICIT }, /* Xo */
/* XXX - .Fo supposed to be (but isn't) callable. */