Follow-up Comment #2, patch #1526 (project freeciv):
Attaching updated patch.
The assumption in the first patch was wrong (callbacks are not always defined
in script.code, but also in default.lua etc!).
This patch does only the "use code string when it is available" part, so some
cases are improved with code listings on error, but not the case where we have
an error inside callback execution. That can be solved using a more complex
solution in the future.
(file #8516)
_______________________________________________________
Additional Item Attachment:
File name: 0001-Print-code-listing-on-error-when-possible-in-script_.patch
Size:2 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1526>
_______________________________________________
Meddelandet skickades via/av Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev