Skip to content

Commit db9007b

Browse files
committed
Merge do not return comment tokens during readBalanced (PR brucemiller#2632)
2 parents 6e13726 + c4583f5 commit db9007b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/LaTeXML/Core/Gullet.pm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,6 @@ sub readBalanced {
453453
my ($token, $cc, $defn, $atoken, $atype, $ahidden);
454454
# Inlined readToken (we'll keep comments in the result)
455455
while (1) {
456-
if (@{ $$self{pending_comments} }) {
457-
push(@tokens, @{ $$self{pending_comments} });
458-
$$self{pending_comments} = []; }
459456
# Examine pushback first
460457
while (($token = shift(@{ $$self{pushback} })) && $CATCODE_HOLD[$cc = $$token[1]]) {
461458
if ($cc == CC_COMMENT) { push(@tokens, $token); }

0 commit comments

Comments
 (0)