DavidKinder / Inform6

The latest version of the Inform 6 compiler, used for generating interactive fiction games.
http://inform-fiction.org/
Other
204 stars 34 forks source link

Add line number info to some trace messages #202

Closed erkyrath closed 2 years ago

erkyrath commented 2 years ago

The --trace PROPS and --trace SYMDEF options now display the line number that each property or symbol is defined at.

This uses a new function current_location_text(), which writes the file/line info to a static buffer and returns it.