version 1.98, 2015/11/12 22:44:27 |
version 1.100, 2017/06/02 19:21:23 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 175 mandoc_escape(const char **end, const char **start, in |
|
Line 175 mandoc_escape(const char **end, const char **start, in |
|
++*end; |
++*end; |
return ESCAPE_ERROR; |
return ESCAPE_ERROR; |
} |
} |
gly = ESCAPE_IGNORE; |
switch ((*start)[-1]) { |
|
case 'h': |
|
gly = ESCAPE_HORIZ; |
|
break; |
|
case 'l': |
|
gly = ESCAPE_HLINE; |
|
break; |
|
default: |
|
gly = ESCAPE_IGNORE; |
|
break; |
|
} |
term = **start; |
term = **start; |
*start = ++*end; |
*start = ++*end; |
break; |
break; |