Really import mdocml version 1.12.3 and not a preliminary tarball.
This commit is contained in:
parent
7ae17de732
commit
b49854de09
4
mandoc.c
4
mandoc.c
@ -1,4 +1,4 @@
|
||||
/* $Id: mandoc.c,v 1.73 2013/12/26 02:55:28 schwarze Exp $ */
|
||||
/* $Id: mandoc.c,v 1.74 2013/12/30 18:30:32 schwarze Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
* Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
|
||||
@ -40,7 +40,7 @@ static char *time2a(time_t);
|
||||
|
||||
|
||||
enum mandoc_esc
|
||||
mandoc_escape(const char const **end, const char const **start, int *sz)
|
||||
mandoc_escape(const char **end, const char **start, int *sz)
|
||||
{
|
||||
const char *local_start;
|
||||
int local_sz;
|
||||
|
5
mandoc.h
5
mandoc.h
@ -1,4 +1,4 @@
|
||||
/* $Id: mandoc.h,v 1.111 2013/10/05 20:30:05 schwarze Exp $ */
|
||||
/* $Id: mandoc.h,v 1.112 2013/12/30 18:30:32 schwarze Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
* Copyright (c) 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
|
||||
@ -400,8 +400,7 @@ struct man;
|
||||
__BEGIN_DECLS
|
||||
|
||||
void *mandoc_calloc(size_t, size_t);
|
||||
enum mandoc_esc mandoc_escape(const char const **,
|
||||
const char const **, int *);
|
||||
enum mandoc_esc mandoc_escape(const char **, const char **, int *);
|
||||
void *mandoc_malloc(size_t);
|
||||
void *mandoc_realloc(void *, size_t);
|
||||
char *mandoc_strdup(const char *);
|
||||
|
5
roff.c
5
roff.c
@ -1,4 +1,4 @@
|
||||
/* $Id: roff.c,v 1.188 2013/12/25 00:50:05 schwarze Exp $ */
|
||||
/* $Id: roff.c,v 1.189 2013/12/30 18:44:06 schwarze Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
* Copyright (c) 2010, 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
|
||||
@ -646,8 +646,7 @@ roff_parsetext(char **bufp, size_t *szp, int pos, int *offs)
|
||||
if ('\\' == *p) {
|
||||
/* Skip over escapes. */
|
||||
p++;
|
||||
esc = mandoc_escape
|
||||
((const char const **)&p, NULL, NULL);
|
||||
esc = mandoc_escape((const char **)&p, NULL, NULL);
|
||||
if (ESCAPE_ERROR == esc)
|
||||
break;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user