=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.94 retrieving revision 1.97 diff -u -p -r1.94 -r1.97 --- mandoc/main.c 2010/06/30 20:32:15 1.94 +++ mandoc/main.c 2010/07/04 22:04:04 1.97 @@ -1,6 +1,7 @@ -/* $Id: main.c,v 1.94 2010/06/30 20:32:15 schwarze Exp $ */ +/* $Id: main.c,v 1.97 2010/07/04 22:04:04 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons + * Copyright (c) 2010 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 @@ -120,6 +121,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "unknown manual section", "section not in conventional manual section", "end of line whitespace", + "blocks badly nested", "scope open on exit", "generic error", @@ -143,7 +145,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "bad comment style", "unknown macro will be lost", "line scope broken", - "scope broken", "argument count wrong", "request scope close w/none open", "scope already open", @@ -153,16 +154,17 @@ static const char * const mandocerrs[MANDOCERR_MAX] = "no title in document", "missing list type", "missing display type", + "missing font type", "line argument(s) will be lost", "body argument(s) will be lost", "generic fatal error", "column syntax is inconsistent", - "missing font type", "displays may not be nested", "unsupported display type", - "no scope to rewind: syntax violated", + "blocks badly nested", + "no such block is open", "scope broken, syntax violated", "line scope broken, syntax violated", "argument count wrong, violates syntax",