X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/6b2defb0f921c22df14e94ce0098640d4401303e..9d70ad9e783183f60b7bf9ded3496003a1298237:/mdoc.c?ds=inline diff --git a/mdoc.c b/mdoc.c index b5364917..c6aa8371 100644 --- a/mdoc.c +++ b/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.53 2009/03/08 11:41:22 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.54 2009/03/08 12:40:27 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -519,6 +519,8 @@ parsemacro(struct mdoc *m, int ln, char *buf) break; } + /* FIXME: be able to skip unknown macro lines! */ + mac[i - 1] = 0; if (i == 5 || i <= 2) {