diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-11-19 22:30:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-11-19 22:30:58 +0000 |
commit | e0775496049b1f1c4aa21434142ccda12eb3146b (patch) | |
tree | af7d5ed84f6a906599d458f0b7d917f7daee5509 /read.c | |
parent | dc409878671ea1571807749a48b645dd88048385 (diff) | |
download | mandoc-e0775496049b1f1c4aa21434142ccda12eb3146b.tar.gz mandoc-e0775496049b1f1c4aa21434142ccda12eb3146b.tar.zst mandoc-e0775496049b1f1c4aa21434142ccda12eb3146b.zip |
Do not crash on stray .Ta macros found outside column lists.
Problem reported by jmc@, thanks.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ -/* $Id: read.c,v 1.33 2012/11/19 17:57:23 schwarze Exp $ */ +/* $Id: read.c,v 1.34 2012/11/19 22:30:58 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> - * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> + * Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -180,6 +180,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "skipping unknown macro", "NOT IMPLEMENTED, please use groff: skipping request", "argument count wrong", + "skipping column outside column list", "skipping end of block that is not open", "missing end of block", "scope open on exit", |