We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9fb9c commit 2b12cb4Copy full SHA for 2b12cb4
lib/elixir/src/elixir_parser.yrl
@@ -456,7 +456,6 @@ Erlang code.
456
-define(id(Node), element(1, Node)).
457
-define(line(Node), element(2, Node)).
458
-define(exprs(Node), element(3, Node)).
459
--define(lexical(Kind), Kind == import; Kind == alias; Kind == '__aliases__').
460
-define(rearrange_uop(Op), Op == 'not' orelse Op == '!').
461
462
%% The following directive is needed for (significantly) faster
@@ -534,9 +533,6 @@ build_identifier({ Keyword, Line }, Args) when Keyword == fn ->
534
533
build_identifier({ op_identifier, Line, Identifier }, [Arg]) ->
535
{ Identifier, [{ambiguous_op,nil}|meta(Line)], [Arg] };
536
537
-build_identifier({ _, Line, Identifier }, Args) when ?lexical(Identifier) ->
538
- { Identifier, meta(Line, 0), Args };
539
-
540
build_identifier({ _, Line, Identifier }, Args) ->
541
{ Identifier, meta(Line), Args }.
542
0 commit comments