Changeset 82871e8 in tol
- Timestamp:
- Feb 20, 2012, 11:49:55 AM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 746525a
- Parents:
- f3155c5
- Location:
- tol
- Files:
-
- 2 edited
-
stdlib/general/grammars/_text.tol (modified) (1 diff)
-
tol_version_def.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/grammars/_text.tol
rf3155c5 r82871e8 1273 1273 ////////////////////////////////////////////////////////////////////////////// 1274 1274 { 1275 Text text.tcl = "{"<<Replace(Replace(Replace(text, "\\", "\\\\"), 1276 "{", "\\{"), "}", "\\}") << "}"; 1277 Text pattern.tcl = "{"<<Replace(Replace(Replace(pattern, "\\", "\\\\"), 1278 "{", "\\{"), "}", "\\}") << "}"; 1279 Text caseText = If(case, "", "-nocase "); 1280 Eval(Tcl_Eval("string match "<<caseText<<pattern.tcl<<" "<<text.tcl)[1]) 1281 }; 1275 Set tclScript = [[ "string", "match" ]]; 1276 Set If( Not(case), Set Append( tclScript, [[ "-nocase" ]] ) ); 1277 Set Append( tclScript, [[ pattern, text ]] ); 1278 TextToReal( Tcl_EvalEx( tclScript )[1] ) 1279 }; -
tol/tol_version_def.h
rf3155c5 r82871e8 24 24 #define VERSION_MAJOR 3 25 25 #define VERSION_MINOR 2 26 #define VERSION_BUILD "b00 2"26 #define VERSION_BUILD "b003" 27 27 28 28 #if defined(_MSC_VER)
Note: See TracChangeset
for help on using the changeset viewer.
