[erlang-questions] parse_transform and error messages
Paul Guyot
pguyot@REDACTED
Sat Nov 1 09:02:23 CET 2008
Le 31 oct. 08 à 18:49, denis a écrit :
> You can do it by adding the term
> {error, {Line, Module, Msg::io_list()}}
> into the AST.
>
> You can generate an error in a module, and look at the generated AST
> to have an example.
Thank you! It is exactly what I was looking for, and it provides a
nicer interface to our compile-time checks.
Paul
More information about the erlang-questions
mailing list