From 6f966758eb5b7c5dcee7eabce3832e99569d5a87 Mon Sep 17 00:00:00 2001 From: Mikael Pettersson Date: Mon, 30 Dec 2019 17:05:26 +0100 Subject: [PATCH] as: input: .data directive bug fix --- erlang/apps/as/src/input.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erlang/apps/as/src/input.erl b/erlang/apps/as/src/input.erl index 831d8e4..e3eaee0 100644 --- a/erlang/apps/as/src/input.erl +++ b/erlang/apps/as/src/input.erl @@ -98,7 +98,7 @@ pass1_stmt(Location, Ctx, Stmt) -> _ -> {ok, ctx_append(Ctx, Location, Stmt)} end. -dot_data(Location, Ctx, #s_dot_text{nr = SubsectionNr}) -> +dot_data(Location, Ctx, #s_dot_data{nr = SubsectionNr}) -> {ok, ctx_data(Ctx, Location, SubsectionNr)}. dot_popsection(Location, Ctx0, #s_dot_popsection{}) ->