diff src/pt-const.h @ 3933:f9ea3dcf58ee

[project @ 2002-05-15 03:21:00 by jwe]
author jwe
date Wed, 15 May 2002 03:21:01 +0000
parents bf6116ca10eb
children 6e86256e9c54
line wrap: on
line diff
--- a/src/pt-const.h
+++ b/src/pt-const.h
@@ -54,19 +54,15 @@
 
   ~tree_constant (void) { }
 
-  void *operator new (size_t size)
-    { return allocator.alloc (size); }
+  void *operator new (size_t size) { return allocator.alloc (size); }
 
-  void operator delete (void *p, size_t size)
-    { allocator.free (p, size); }
+  void operator delete (void *p, size_t size) { allocator.free (p, size); }
 
   // Type.  It would be nice to eliminate the need for this.
 
-  bool is_constant (void) const
-    { return true; }
+  bool is_constant (void) const { return true; }
 
-  void maybe_mutate (void)
-    { val.maybe_mutate (); }
+  void maybe_mutate (void) { val.maybe_mutate (); }
 
   void print (std::ostream& os, bool pr_as_read_syntax = false,
 	      bool pr_orig_txt = true);
@@ -74,8 +70,7 @@
   void print_raw (std::ostream& os, bool pr_as_read_syntax = false,
 		  bool pr_orig_txt = true);
 
-  bool rvalue_ok (void) const
-    { return true; }
+  bool rvalue_ok (void) const { return true; }
 
   octave_value rvalue (void)
     {
@@ -90,11 +85,9 @@
   // Store the original text corresponding to this constant for later
   // pretty printing.
 
-  void stash_original_text (const std::string& s)
-    { orig_text = s; }
+  void stash_original_text (const std::string& s) { orig_text = s; }
 
-  std::string original_text (void) const
-    { return orig_text; }
+  std::string original_text (void) const { return orig_text; }
 
 private: