slepher / astranaut

traverse erlang ast and elixir macro in erlang.
MIT License
15 stars 0 forks source link

add -export_macro attribute #5

Closed slepher closed 5 years ago

slepher commented 5 years ago
-export_macro({[macro_1/0, macro_2/0], Options}).

macro_1() ->
  quote(ok).
macro_2() ->
  quote(ok).

Options will be merged to -use_macro options.

slepher commented 5 years ago

done.