567
565
[{atom, La, ?pp_form}, {'(', La}, {')', La}, {'->', La},
568
566
{atom, La, endif} | scan_macros(Ts, Opt)];
569
567
scan_form([{'-', L}, {'?', L1}, {Type, _, _}=N | [{'(', _} | _]=Ts], Opt)
571
569
%% minus, macro and open parenthesis at start of form - assume that
572
570
%% the macro takes no arguments; e.g. `-?foo(...).'
573
571
macro(L1, N, Ts, [{'-', L}], Opt);
574
572
scan_form([{'?', L}, {Type, _, _}=N | [{'(', _} | _]=Ts], Opt)
576
574
%% macro and open parenthesis at start of form - assume that the
577
575
%% macro takes no arguments; probably a function declaration on the
578
576
%% form `?m(...) -> ...', which will not parse if it is rewritten as