From 9d634f3460244542225a7c4f28a14c3314dca03f Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel@karaba.cepremap.org>
Date: Tue, 22 Nov 2011 22:03:11 +0100
Subject: [PATCH] fixed "clear global" for Octave

---
 preprocessor/ModFile.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/preprocessor/ModFile.cc b/preprocessor/ModFile.cc
index f6b409bd1..d327cf523 100644
--- a/preprocessor/ModFile.cc
+++ b/preprocessor/ModFile.cc
@@ -387,7 +387,7 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool console,
     {
       mOutputFile << "clear all" << endl
 	// this is a work-around for a bug in Octave 3.2
-		  << "clear globals" << endl;
+		  << "clear global" << endl;
     }
 
   mOutputFile << "tic;" << endl
-- 
GitLab