Index: /trunk/FACT++/src/InterpreterV8.cc
===================================================================
--- /trunk/FACT++/src/InterpreterV8.cc	(revision 15100)
+++ /trunk/FACT++/src/InterpreterV8.cc	(revision 15101)
@@ -2229,4 +2229,14 @@
 }
 
+void InterpreterV8::JsLoad(const std::string &)
+{
+    Readline::SetScriptDepth(1);
+}
+
+void InterpreterV8::JsEnd(const std::string &)
+{
+    Readline::SetScriptDepth(0);
+}
+
 bool InterpreterV8::JsRun(const string &filename, const map<string, string> &map)
 {
Index: /trunk/FACT++/src/InterpreterV8.h
===================================================================
--- /trunk/FACT++/src/InterpreterV8.h	(revision 15100)
+++ /trunk/FACT++/src/InterpreterV8.h	(revision 15101)
@@ -171,7 +171,7 @@
     }
 
-    virtual void  JsLoad(const std::string &) { }
+    virtual void  JsLoad(const std::string & = "");
     virtual void  JsStart(const std::string &) { }
-    virtual void  JsEnd(const std::string &) { }
+    virtual void  JsEnd(const std::string & = "");
     virtual void  JsPrint(const std::string & = "") { }
     virtual void  JsAlarm(const std::string & = "") { }
