Hi,
The attached patch makes lilypond-book display lilypond errors
correctly, so file name and line number always points to the right
spot in the tely/ly/itely source file, using standard file:line:col
notation.
I have introduced a command \sourcefileline in the lexer, and then
modified lily-book to use this command.
sourcefilenameline works as follows:
\sourcefilename "foo.tely"
\sourcefileline 100
\x
=>
foo.tely:101:0: error: unknown escaped string
The \sourcefileline command is implemented in a dirty way, using
sscanf. Should I attempt to softcode \sourcefilename, \sourcefileline
and \version?