version 1.54, 2014/12/20 00:19:54 |
version 1.55, 2015/01/21 20:20:49 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* |
/* |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011-2015 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 |
|
|
case ESCAPE_NUMBERED: |
case ESCAPE_NUMBERED: |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case ESCAPE_SPECIAL: |
case ESCAPE_SPECIAL: |
|
/* FALLTHROUGH */ |
|
case ESCAPE_OVERSTRIKE: |
if (skip) |
if (skip) |
skip = 0; |
skip = 0; |
else |
else |
|
|
if ('\0' == *p) |
if ('\0' == *p) |
nospace = 1; |
nospace = 1; |
continue; |
continue; |
|
case ESCAPE_OVERSTRIKE: |
|
if (len == 0) |
|
continue; |
|
c = seq[len - 1]; |
|
break; |
default: |
default: |
continue; |
continue; |
} |
} |