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 AM9/6/21
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.