Dialyzed!

This commit is contained in:
Ulf Norell 2019-02-08 14:15:15 +01:00
parent aa6d56ce9b
commit 236ef6eb89
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ parse(Text, Options) ->
ErrorString = io_lib:format("Ambiguous ~p", [As]),
parse_error(Pos, ErrorString);
%% Include error
{error, {Pos, {include_error, File}}} ->
{error, {Pos, include_error, File}} ->
parse_error(Pos, io_lib:format("could not find include file '~s'", [File]))
end.

View File

@ -493,7 +493,7 @@ expand_includes([{include, S = {string, _, File}} | AST], Acc, Opts) ->
Err
end;
{error, _} ->
{error, {get_pos(S), {include_error, File}}}
{error, {get_pos(S), include_error, File}}
end;
expand_includes([E | AST], Acc, Opts) ->
expand_includes(AST, [E | Acc], Opts).