Changeset 865a7b9d in tol for toltcl/generic
- Timestamp:
- Oct 9, 2009, 8:19:08 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 5f10b30
- Parents:
- 1065545
- File:
-
- 1 edited
-
toltcl/generic/tolaccess.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
toltcl/generic/tolaccess.cpp
r1065545 r865a7b9d 71 71 BText GetObjectName(const BSyntaxObject * so) 72 72 { 73 return so->HasName() ? so->FullName() : so->LocalName(); 73 // antes estaba FullName pero salian cosas como: 74 // estim::cycler::_.sampler::_.buildWorkSpace 75 return so->HasName() ? so->Name() : so->LocalName(); 74 76 } 75 77 76 78 static 77 79 void GetName( const BSyntaxObject * so, BText & res ) 80 { 81 // antes estaba FullName pero salian cosas como: 82 // estim::cycler::_.sampler::_.buildWorkSpace 83 res = so->Name(); 84 } 85 86 static 87 void GetFullName( const BSyntaxObject * so, BText & res ) 78 88 { 79 89 res = so->FullName(); … … 1996 2006 // function name 1997 2007 Tcl_DStringInit(&dstr); 2008 // antes estaba FullName 1998 2009 Tcl_ExternalToUtfDString(NULL, opr->FullName(), -1, &dstr); 1999 2010 Tcl_DStringAppend(&dstr_info, Tcl_DStringValue(&dstr), -1); … … 2066 2077 if (gra) { 2067 2078 BList * lstOper = gra->GetOperators(); 2068 if (BList2TclList(interp,lstOper,obj_result,&Get Name) != TCL_OK) {2079 if (BList2TclList(interp,lstOper,obj_result,&GetFullName) != TCL_OK) { 2069 2080 Tcl_AppendObjToObj(obj_result,Tcl_GetObjResult(interp)); 2070 2081 DESTROY(lstOper);
Note: See TracChangeset
for help on using the changeset viewer.
