mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-02-01 05:11:25 -08:00
fix compile issue
This commit is contained in:
parent
93db0447a9
commit
a4583e0cce
2 changed files with 7 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ static cl_object safe_eval(const char* lisp_code) {
|
|||
CL_CATCH_ALL_END;
|
||||
return ret; }
|
||||
|
||||
/*
|
||||
void EQL::eval(const char* lisp_code, const EvalMode mode) {
|
||||
switch(mode) {
|
||||
case DebugOnError:
|
||||
|
|
@ -82,6 +83,10 @@ void EQL::eval(const char* lisp_code, const EvalMode mode) {
|
|||
qDebug() << "Error evaluating " << lisp_code;
|
||||
if (mode == DieOnError) {
|
||||
exit(-1); }}}}
|
||||
*/
|
||||
|
||||
void EQL::eval(const char* lisp_code) {
|
||||
safe_eval_debug(lisp_code); }
|
||||
|
||||
void EQL::ignoreIOStreams() {
|
||||
// [Windows] print output would cause a gui exe to crash (without console)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,8 @@ public:
|
|||
static QEventLoop* eventLoop;
|
||||
static void ini(int, char**);
|
||||
static void ini(char**);
|
||||
static void eval(const char*, const EvalMode = evalMode);
|
||||
//static void eval(const char*, const EvalMode = evalMode);
|
||||
static void eval(const char*);
|
||||
static EvalMode evalMode;
|
||||
|
||||
void exec(const QStringList&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue