Mercurial > hg > octave-lojdl
changeset 2614:ae47b0911863
[project @ 1997-01-21 03:57:46 by jwe]
author | jwe |
---|---|
date | Tue, 21 Jan 1997 03:57:47 +0000 |
parents | 5bcee07be597 |
children | ad44ecafabe4 |
files | src/ChangeLog src/lex.l src/pt-plot.cc src/toplev.cc src/unwind-prot.cc |
diffstat | 5 files changed, 19 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ Mon Jan 20 11:11:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + * lex.l (token_stack): Don't declare static. + * pt-plot.cc (tmp_files): Likewise. + * toplev.cc (octave_atexit_functions): Likewise. + * unwind-prot.cc (unwind_protect_list): Likewise. + * ops.h (MX_MX_BOOL_OP): Correctly handle case of one or both arguments being empty. Change all callers.
--- a/src/lex.l +++ b/src/lex.l @@ -70,7 +70,10 @@ // reset and avoid growing forever just because we are stashing some // information. This has to appear before lex.h is included, because // one of the macros defined there uses token_stack. -static SLStack <token*> token_stack; +// +// XXX FIXME XXX -- this should really be static, but that causes +// problems on some systems. +SLStack <token*> token_stack; // Did eat_whitespace() eat a space or tab, or a newline, or both?
--- a/src/pt-plot.cc +++ b/src/pt-plot.cc @@ -91,7 +91,10 @@ static bool clear_before_plotting = true; // List of files to delete when we exit or crash. -static SLStack <string> tmp_files; +// +// XXX FIXME XXX -- this should really be static, but that causes +// problems on some systems. +SLStack <string> tmp_files; // Pipe to gnuplot. static oprocstream *plot_stream = 0;
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -750,7 +750,9 @@ DEFALIAS (shell_cmd, system); -static SLStack<string> octave_atexit_functions; +// XXX FIXME XXX -- this should really be static, but that causes +// problems on some systems. +SLStack<string> octave_atexit_functions; void do_octave_atexit (void)
--- a/src/unwind-prot.cc +++ b/src/unwind-prot.cc @@ -40,7 +40,9 @@ #include "unwind-prot.h" #include "utils.h" -static SLStack <unwind_elem> unwind_protect_list; +// XXX FIXME XXX -- this should really be static, but that causes +// problems on some systems. +SLStack <unwind_elem> unwind_protect_list; void add_unwind_protect (cleanup_func fptr, void *ptr)