as: input: .data directive bug fix

This commit is contained in:
Mikael Pettersson 2019-12-30 17:05:26 +01:00
parent 4850c75237
commit 6f966758eb

View File

@ -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{}) ->