Changeset 8916937 in tol


Ignore:
Timestamp:
Jan 19, 2011, 2:38:58 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
716b74a
Parents:
0fb35c7
Message:

More explicit message on Tcl_Eval* funtions

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3069 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/set_type/setgra.cpp

    r0fb35c7 r8916937  
    27212721  BSyntaxObject * so;
    27222722  BInt status = 0;
    2723   const char * str_result = "Unimplemented";
     2723  BText str_result_ = BText("[Tcl_Eval] Unimplemented method in script=\n")+script+"\n";
     2724  const char* str_result = str_result_.Buffer();
    27242725 
    27252726  if (tcl_evaluator)
    … …  
    27282729  result = Cons(so = new BContensDat("", status), result);
    27292730  so->PutName("status");
    2730   result = Cons(so = new BContensText("", str_result), result);
     2731  result = Cons(so = new BContensText("", str_result_), result);
    27312732  so->PutName("result");
    27322733  contens_.RobElement(result);
    … …  
    27632764  BSyntaxObject * so;
    27642765  BInt status = 0;
    2765   const char *str_result = "Unimplemented";
     2766  BText str_result_ = BText("[Tcl_EvalEx] Unimplemented method in cmd=\n")+cmd.Dump()+"\n";
     2767  const char* str_result = str_result_.Buffer();
    27662768 
    27672769  if (tcl_evaluatorEx)
    … …  
    27702772  result = Cons(so = new BContensDat("", status), result);
    27712773  so->PutName("status");
    2772   result = Cons(so = new BContensText("", str_result), result);
     2774  result = Cons(so = new BContensText("", str_result_), result);
    27732775  so->PutName("result");
    27742776  contens_.RobElement(result);
Note: See TracChangeset for help on using the changeset viewer.