Skip to content

Commit 54fa393

Browse files
author
hornik
committed
Fix for handling verbatims. By Duncan Murdoch.
git-svn-id: https://svn.r-project.org/R/trunk@85807 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent d62268a commit 54fa393

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/library/tools/src/gramLatex.y

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@ static int mkVerbEnv(void)
876876
matched = 0;
877877
}
878878
if ( !CHAR(STRING_ELT(parseState.xxInVerbEnv, 0))[matched] ) {
879+
xxungetc(c);
879880
for (i = matched-1; i >= 0; i--)
880881
xxungetc(*(--bp));
881882
RELEASE_SV(parseState.xxInVerbEnv);

0 commit comments

Comments
 (0)