diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-26 15:22:19 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-26 15:22:19 +0000 |
commit | 712ec41a30db9c8794ec92168b9d2b39f1dee6da (patch) | |
tree | 806d94fb8a0c37e22702bd3d39e6ebe9d45925e8 /roff.h | |
parent | 3234ace1ba2fef84ad009e6822dd76699a34e344 (diff) | |
download | mandoc-712ec41a30db9c8794ec92168b9d2b39f1dee6da.tar.gz mandoc-712ec41a30db9c8794ec92168b9d2b39f1dee6da.tar.zst mandoc-712ec41a30db9c8794ec92168b9d2b39f1dee6da.zip |
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.
Diffstat (limited to 'roff.h')
-rw-r--r-- | roff.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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 |