Changeset 15078 for trunk


Ignore:
Timestamp:
03/15/13 13:40:37 (12 years ago)
Author:
tbretz
Message:
Emit an empty string if no arguments are given in dim.log
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r15073 r15078  
    653653            JsPrint(*str);
    654654    }
     655
     656    if (args.Length()==0)
     657        JsPrint();
     658
    655659    return Undefined();
    656660}
  • trunk/FACT++/src/InterpreterV8.h

    r15073 r15078  
    174174    virtual void  JsStart(const std::string &) { }
    175175    virtual void  JsEnd(const std::string &) { }
    176     virtual void  JsPrint(const std::string &) { }
     176    virtual void  JsPrint(const std::string & = "") { }
    177177    virtual void  JsAlarm(const std::string & = "") { }
    178178    virtual void  JsOut(const std::string &) { }
Note: See TracChangeset for help on using the changeset viewer.