/[groff]/groff/src/roff/troff/env.cpp
ViewVC logotype

Diff of /groff/src/roff/troff/env.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by wl, Thu Dec 16 13:09:54 2004 UTC revision 1.12 by wl, Sun Feb 27 06:26:15 2005 UTC
# Line 1  Line 1 
1  // -*- C++ -*-  // -*- C++ -*-
2  /* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004  /* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001, 2002, 2003, 2004, 2005
3     Free Software Foundation, Inc.     Free Software Foundation, Inc.
4       Written by James Clark (jjc@jclark.com)       Written by James Clark (jjc@jclark.com)
5    
# Line 1130  void environment_switch() Line 1130  void environment_switch()
1130          error("environment stack underflow");          error("environment stack underflow");
1131      }      }
1132      else {      else {
1133          int seen_space = curenv->seen_space;
1134          int seen_eol   = curenv->seen_eol;
1135          int suppress_next_eol = curenv->suppress_next_eol;
1136        curenv = env_stack->env;        curenv = env_stack->env;
1137          curenv->seen_space = seen_space;
1138          curenv->seen_eol   = seen_eol;
1139          curenv->suppress_next_eol = suppress_next_eol;
1140        env_list *tem = env_stack;        env_list *tem = env_stack;
1141        env_stack = env_stack->next;        env_stack = env_stack->next;
1142        delete tem;        delete tem;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26