aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 12:52:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 12:52:54 +0000
commit7be5fc75543838241bb32d119197e65ad64e15f8 (patch)
treef6af5aeba36670e10cca79dcdd65d6b8b0fd247b /read.c
parentda302548a58ff17d53b0d3e89bf0739d9ce61f10 (diff)
downloadmandoc-7be5fc75543838241bb32d119197e65ad64e15f8.tar.gz
mandoc-7be5fc75543838241bb32d119197e65ad64e15f8.tar.zst
mandoc-7be5fc75543838241bb32d119197e65ad64e15f8.zip
Warn if equation `define' key is quoted (groff-ism).
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 da273ae1..9516b2bf 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.15 2011/05/26 20:36:21 kristaps Exp $ */
+/* $Id: read.c,v 1.16 2011/07/17 12:52:54 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -146,6 +146,9 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"bad comment style",
"bad escape sequence",
"unterminated quoted string",
+
+ /* related to equations */
+ "unexpected literal in equation",
"generic error",