Mercurial > octave-nkf
changeset 3561:0345dd2a826f
[project @ 2000-02-03 05:38:06 by jwe]
author | jwe |
---|---|
date | Thu, 03 Feb 2000 05:38:07 +0000 |
parents | e3e8cfe73935 |
children | 9c7e782471d0 |
files | src/ChangeLog src/lex.l |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Thu Feb 03 05:28:17 2000 +0000 +++ b/src/ChangeLog Thu Feb 03 05:38:07 2000 +0000 @@ -1,5 +1,8 @@ 2000-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> + * lex.l (plot_axes_token): Declare plot_axes as const char *. + Declare tmp const char **. + * oct-procbuf.h: Include fstream, not streambuf.h. * load-save.cc (Fsave): Call pubseekoff instead of seekoff.
--- a/src/lex.l Thu Feb 03 05:28:17 2000 +0000 +++ b/src/lex.l Thu Feb 03 05:38:07 2000 +0000 @@ -901,7 +901,7 @@ { std::string retval; - static char *plot_axes[] = + static const char *plot_axes[] = { "x1y1", "x1y2", @@ -910,7 +910,7 @@ 0, }; - char **tmp = plot_axes; + const char **tmp = plot_axes; while (*tmp) { if (almost_match (*tmp, s.c_str ()))