@@ -166,6 +166,7 @@ expr -> np_call_exprs : '$1'.
166
166
% No Parens Calls
167
167
np_call_exprs -> np_method_call_expr : '$1' .
168
168
np_call_exprs -> np_erlang_call_expr : '$1' .
169
+ np_call_exprs -> base_identifier : '$1' .
169
170
np_call_exprs -> brackets_expr : '$1' .
170
171
171
172
% Method call
@@ -186,6 +187,7 @@ call_exprs -> min_expr : '$1'.
186
187
187
188
% Function call
188
189
fun_call_expr -> min_expr call_args_parens : build_fun_call ('$1' , '$2' ).
190
+ fun_call_expr -> base_identifier call_args_parens : build_fun_call ('$1' , '$2' ).
189
191
190
192
% Method call
191
193
method_call_expr -> np_call_exprs dot_eol method_name call_args_parens : build_method_call ('$1' , '$3' , '$4' ).
@@ -217,6 +219,7 @@ _expr -> _np_call_exprs : '$1'.
217
219
% No Parens Calls
218
220
_np_call_exprs -> _np_method_call_expr : '$1' .
219
221
_np_call_exprs -> np_erlang_call_expr : '$1' .
222
+ _np_call_exprs -> base_identifier : '$1' .
220
223
_np_call_exprs -> _brackets_expr : '$1' .
221
224
222
225
% Method call
@@ -237,6 +240,7 @@ _call_exprs -> base_expr : '$1'.
237
240
238
241
% Function call
239
242
_fun_call_expr -> base_expr call_args_parens : build_fun_call ('$1' , '$2' ).
243
+ _fun_call_expr -> base_identifier call_args_parens : build_fun_call ('$1' , '$2' ).
240
244
241
245
% Method call
242
246
_method_call_expr -> _np_call_exprs dot_eol method_name call_args_parens : build_method_call ('$1' , '$3' , '$4' ).
@@ -360,7 +364,6 @@ close_gt -> '>>' : '$1'.
360
364
close_gt -> eol '>>' : '$2' .
361
365
362
366
% Base expressions
363
- base_expr -> base_identifier : '$1' .
364
367
base_expr -> string_list : build_string_list ('$1' ).
365
368
base_expr -> ivar : '$1' .
366
369
base_expr -> atom : '$1' .
0 commit comments