parse transform options
Serge <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CANt451kScLUCDH8q9yDhC9BHpFyvopPPTErNV=d8YhY_Vxc7yw@mail.gmail.com> |
How do you pass options (2nd argument) to a parse transform?
Documentation (http://erlang.org/doc/man/erl_id_trans.html#parse_transform-2)
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?