=================================================================== RCS file: /cvs/mandoc/main.c,v retrieving revision 1.94 retrieving revision 1.98 diff -u -p -r1.94 -r1.98 --- mandoc/main.c 2010/06/30 20:32:15 1.94 +++ mandoc/main.c 2010/07/07 15:04:54 1.98 @@ -1,6 +1,7 @@ -/* $Id: main.c,v 1.94 2010/06/30 20:32:15 schwarze Exp $ */ +/* $Id: main.c,v 1.98 2010/07/07 15:04:54 kristaps 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 @@ -30,7 +31,6 @@ #include #include "mandoc.h" -#include "regs.h" #include "main.h" #include "mdoc.h" #include "man.h" @@ -120,6 +120,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 +144,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 +153,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",