Mercurial > hg > octave-nkf
changeset 3576:168277402d7c
[project @ 2000-02-04 11:09:38 by jwe]
author | jwe |
---|---|
date | Fri, 04 Feb 2000 11:12:34 +0000 |
parents | 7576a76f6d7b |
children | da3cf11d6966 |
files | doc/interpreter/munge-texi.cc scripts/gethelp.cc src/Map.h |
diffstat | 3 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/munge-texi.cc +++ b/doc/interpreter/munge-texi.cc @@ -48,7 +48,7 @@ } static std::string -extract_symbol_name (istream& is) +extract_symbol_name (std::istream& is) { std::string symbol_name;
--- a/scripts/gethelp.cc +++ b/scripts/gethelp.cc @@ -146,10 +146,10 @@ if (! help_text.empty ()) { - cout << "" << name << "\n" << help_text; + std::cout << "" << name << "\n" << help_text; if (help_text[help_text.length () - 1] != '\n') - cout << "\n"; + std::cout << "\n"; } return 0;
--- a/src/Map.h +++ b/src/Map.h @@ -101,10 +101,10 @@ // table entry. Not terrible, but not wonderful either. int goodCHptr (void) - { return (((X_CAST (unsigned long, this)) & 1) == 0); } + { return ((((unsigned long) this) & 1) == 0); } unsigned int CHptr_to_index (void) - { return (X_CAST (unsigned long, this)) >> 1; } + { return (((unsigned long) this) >> 1); } }; #ifndef DEFAULT_INITIAL_CAPACITY