diff src/ov-colon.h @ 2477:3d905d3820a4

[project @ 1996-11-07 16:46:11 by jwe]
author jwe
date Thu, 07 Nov 1996 16:48:16 +0000
parents 1573640a9994
children 8b262e771614
line wrap: on
line diff
--- a/src/ov-colon.h
+++ b/src/ov-colon.h
@@ -41,7 +41,7 @@
 
 class tree_walker;
 
-// Real scalar values.
+// A type to represent `:' as used for indexing.
 
 class
 octave_magic_colon : public octave_base_value
@@ -58,11 +58,6 @@
 
   octave_value *clone (void) { return new octave_magic_colon (*this); }
 
-#if 0
-  void *operator new (size_t size);
-  void operator delete (void *p, size_t size);
-#endif
-
   idx_vector index_vector (void) const { return idx_vector (':'); }
 
   bool is_defined (void) const { return true; }
@@ -86,8 +81,10 @@
 
 private:
 
+  // Type id of magic colon objects, set by register_type().
   static int t_id;
 
+  // Type name of magic colon objects, defined in ov-colon.cc.
   static const string t_name;
 };