-/* $Id: macro.c,v 1.25 2009/01/07 15:53:00 kristaps Exp $ */
+/* $Id: macro.c,v 1.26 2009/01/07 15:57:14 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
return(0);
flushed = 1;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
return(0);
}
mdoc_argv_free(argc, argv);
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
if (ppos > 1)
return(1);
continue;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
continue;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
mdoc_body_alloc(mdoc, ppos, tok);
mdoc->next = MDOC_NEXT_CHILD;
}
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}
if ( ! flushed && ! rewind_elem(mdoc, ppos, tok))
return(0);
flushed = 1;
- if ( ! mdoc_macro(mdoc, c, lastarg, pos, buf))
+ if ( ! mdoc_macro(mdoc, c, line, lastarg, pos, buf))
return(0);
break;
}