parse transform options

Serge saleyn@REDACTED
Tue Jul 20 19:35:00 CEST 2021

How do you pass options (2nd argument) to a parse transform?

Documentation (
states that a custom parse transform module should export function that
takes two parameters:

parse_transform(Tree, Options) ->

but there doesn't seem to be a way to pass the transform options from the
compiler, i.e.:

erlc +'{parse_transform,Module}' File.erl

What am I missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list