some small fixes

This commit is contained in:
ceriel 1989-12-06 12:38:18 +00:00
parent 5e2915d143
commit 58eaf6df5b
2 changed files with 7 additions and 4 deletions

View file

@ -21,8 +21,8 @@ directly followed by a list of indices for which the table to be generated
has this value. This list of indices must be in a certain \fBinputformat\fP, has this value. This list of indices must be in a certain \fBinputformat\fP,
characterized by a charactet. characterized by a charactet.
Currently, there is only one inputformat, "c". In this format, the indices Currently, there is only one inputformat, "c". In this format, the indices
are characters. There are two special characters: '\e' and '-'. The are characters. There are two special characters: '\e' and '-'. The '\e'
'\e' behaves like in a C-string, and the '-' describes a range, unless behaves like in a C-string, and the '-' describes a range, unless
it starts the list of indices. it starts the list of indices.
.PP .PP
Some examples of descriptions: Some examples of descriptions:

View file

@ -296,7 +296,6 @@ quoted(pstr)
} }
else { else {
switch (*str++) { switch (*str++) {
case 'n': case 'n':
ch = '\n'; ch = '\n';
break; break;
@ -312,8 +311,12 @@ quoted(pstr)
case 'f': case 'f':
ch = '\f'; ch = '\f';
break; break;
case 'v':
ch = '\v';
break;
default : default :
ch = *str; ch = *(str - 1);
break;
} }
} }
*pstr = str; *pstr = str;