@@ -642,7 +642,7 @@ map_args -> open_curly assoc_update ',' close_curly : build_map_update('$1', '$2
642
642
map_args -> open_curly assoc_update ',' map_close : build_map_update ('$1' , '$2' , element (2 , '$4' ), element (1 , '$4' )).
643
643
map_args -> open_curly assoc_update_kw close_curly : build_map_update ('$1' , '$2' , '$3' , []).
644
644
645
- map -> map_op map_args : adjust_map_column ( '$2' ) .
645
+ map -> map_op map_args : '$2' .
646
646
map -> '%' map_base_expr map_args : {'%' , meta_from_token ('$1' ), ['$2' , '$3' ]}.
647
647
map -> '%' map_base_expr eol map_args : {'%' , meta_from_token ('$1' ), ['$2' , '$4' ]}.
648
648
@@ -776,17 +776,6 @@ build_map_update(Left, {Pipe, Struct, Map}, Right, Extra) ->
776
776
Op = build_op (Struct , Pipe , append_non_empty (Map , Extra )),
777
777
{'%{}' , newlines_pair (Left , Right ) ++ meta_from_token (Left ), [Op ]}.
778
778
779
- adjust_map_column (Map ) ->
780
- case ? columns () of
781
- true ->
782
- {'%{}' , Meta , Pairs } = Map ,
783
- UpdatedMeta = [{Key , if Key =:= column -> Value - 1 ; true -> Value end } ||
784
- {Key , Value } <- Meta ],
785
- {'%{}' , UpdatedMeta , Pairs };
786
- false ->
787
- Map
788
- end .
789
-
790
779
% % Blocks
791
780
792
781
build_block (Exprs ) -> build_block (Exprs , []).
0 commit comments