[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua equivalent to the #line directive
- From: binarycat <binarycat@...>
- Date: Wed, 06 Apr 2022 10:02:05 -0400
it seems like compiling things to lua is becoming somewhat popular, but one problem with that is line numbers in error messages will then not match up.
i was messing around with literate programming, and i decided i should add line number stuff, but after some looking around, it doesn't seem like such a thing exists.
is there something i'm missing? if not, is there some reason lua doesn't include this?
--
binarycat