diff src/pt-exp.h @ 11091:5677f3f7b5fa

Matlab compatible short-circuit behavior for & and | operators
author John W. Eaton <jwe@octave.org>
date Fri, 08 Oct 2010 15:22:47 -0400
parents 1b2fcd122c6a
children fd0a3ac60b0e
line wrap: on
line diff
--- a/src/pt-exp.h	Fri Oct 08 07:39:31 2010 -0400
+++ b/src/pt-exp.h	Fri Oct 08 15:22:47 2010 -0400
@@ -96,6 +96,8 @@
 
   virtual std::string original_text (void) const;
 
+  virtual void mark_braindead_shortcircuit (const std::string&) { }
+
   tree_expression *mark_in_parens (void)
     {
       num_parens++;