From e0775496049b1f1c4aa21434142ccda12eb3146b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 19 Nov 2012 22:30:58 +0000 Subject: Do not crash on stray .Ta macros found outside column lists. Problem reported by jmc@, thanks. --- read.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'read.c') diff --git a/read.c b/read.c index 89b2c28d..cf780626 100644 --- a/read.c +++ b/read.c @@ -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 - * Copyright (c) 2010, 2011 Ingo Schwarze + * Copyright (c) 2010, 2011, 2012 Ingo Schwarze * * 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", -- cgit v1.2.3-56-ge451