Closed wikku closed 3 months ago
Error locations are broken for local files since e8bcebd. Fixed by setting the lexbufs filename. Also replaced
lb.lex_curr_p <- { lb.lex_curr_p with pos_fname = source } ;
with the equivalent stdlib call
Lexing.set_filename lb source
Thanks. Merged in 03a9aca.
Error locations are broken for local files since e8bcebd. Fixed by setting the lexbufs filename. Also replaced
with the equivalent stdlib call