aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 14:08:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 14:08:49 +0000
commit05b3c7b4a206baa8f5859dbe7b1121bb763d7e13 (patch)
tree9dc2737f1f679206b1087f667a90365564b3f596 /read.c
parent7be5fc75543838241bb32d119197e65ad64e15f8 (diff)
downloadmandoc-05b3c7b4a206baa8f5859dbe7b1121bb763d7e13.tar.gz
mandoc-05b3c7b4a206baa8f5859dbe7b1121bb763d7e13.tar.zst
mandoc-05b3c7b4a206baa8f5859dbe7b1121bb763d7e13.zip
Provide implementations of `define', `set', and `unset'.
Tie them into the stream of data. Document these appropriate, bringing in the grammar as defined by the original eqn manual (Kernighan/Richie).
Diffstat (limited to 'read.c')
-rw-r--r--read.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/read.c b/read.c
index 9516b2bf..8066e87c 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.16 2011/07/17 12:52:54 kristaps Exp $ */
+/* $Id: read.c,v 1.17 2011/07/17 14:08:49 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -152,6 +152,9 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"generic error",
+ /* related to equations */
+ "bad equation macro syntax",
+
/* related to tables */
"bad table syntax",
"bad table option",