-/* $Id: mdoc_state.c,v 1.2 2015/10/21 23:51:11 schwarze Exp $ */
+/* $Id: mdoc_state.c,v 1.3 2015/10/30 18:53:54 schwarze Exp $ */
/*
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
*
(n->type != ROFFT_BODY || n->end != ENDBODY_NOT))
return;
+ if (n->parent->args == NULL)
+ return;
+
arg = n->parent->args->argv[0].arg;
if (arg != MDOC_Literal && arg != MDOC_Unfilled)
return;