diff options
Diffstat (limited to 'src/tclscanner.l')
-rw-r--r-- | src/tclscanner.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tclscanner.l b/src/tclscanner.l index a70f018..08b330e 100644 --- a/src/tclscanner.l +++ b/src/tclscanner.l @@ -1656,7 +1656,7 @@ D int myCmd=0; for (unsigned int i=0;i<myName.length();i++) { - char c = myName[i]; + char c = myName.at(i); if (myCmd) { if (c==' '||c=='\t'||c=='\n'||c==']') @@ -2250,7 +2250,7 @@ tcl_inf("TCL_SUBST: use '%s'\n",s); if (tcl.input_string.at(tcl.input_string.length()-1) == '\n') { - tcl.input_string[tcl.input_string.length()-1] = 0x1A; + tcl.input_string.at(tcl.input_string.length()-1) = 0x1A; } else { |