Skip to content

Commit

Permalink
[CWEB] Simplify 'push_level' as well.
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@67647 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
Andreas Scherer committed Jul 16, 2023
1 parent 76f9780 commit b4652be
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions texk/web2c/cwebdir/cweave.w
Original file line number Diff line number Diff line change
Expand Up @@ -3805,11 +3805,8 @@ push_level( /* suspends the current level */
text_pointer p)
{
if (stack_ptr==stack_end) overflow("stack");
if (stack_ptr>stack) { /* save current state */
stack_ptr->end_field=cur_end;
stack_ptr->tok_field=cur_tok;
stack_ptr->mode_field=cur_mode;
}
if (stack_ptr>stack) /* save current state */
*stack_ptr = cur_state;
stack_ptr++;
if (stack_ptr>max_stack_ptr) max_stack_ptr=stack_ptr;
cur_tok=*p; cur_end=*(p+1);
Expand Down

0 comments on commit b4652be

Please sign in to comment.