Tcl_GetErrorLine is nor printing correct line number in file.

0 views
Skip to first unread message

Prince Chaudhary

unread,
Sep 6, 2021, 7:03:28 AMSep 6
to
I have some command in a file and I was parsing and calling using "Tcl_EvalEx". When "Tcl_EvalEx" gets failed, I get the tcl object and call
Tcl_GetErrorLine (tcl).
The problem is that it is always giving me the line number of that particular command not the line number of file.
Can anyone help me to get line number of file.

Thanks

Reply all
Reply to author
Forward
0 new messages