From 712ec41a30db9c8794ec92168b9d2b39f1dee6da Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 26 Jun 2010 15:22:19 +0000 Subject: First step of adding register support. This is inspired by a significant patch by schwarze@. This commit adds support to libroff parsing `nr' into register set defined in regs.h. This will propogate into libmdoc and libman in later commits. --- roff.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roff.h') diff --git a/roff.h b/roff.h index 84859ec1..c8c4babc 100644 --- a/roff.h +++ b/roff.h @@ -1,4 +1,4 @@ -/* $Id: roff.h,v 1.15 2010/05/17 00:06:36 kristaps Exp $ */ +/* $Id: roff.h,v 1.16 2010/06/26 15:22:19 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -31,8 +31,8 @@ struct roff; void roff_free(struct roff *); struct roff *roff_alloc(mandocmsg, void *); void roff_reset(struct roff *); -enum rofferr roff_parseln(struct roff *, int, - char **, size_t *, int, int *); +enum rofferr roff_parseln(struct roff *, struct regset *, + int, char **, size_t *, int, int *); int roff_endparse(struct roff *); __END_DECLS -- cgit v1.2.3