Framework and tests for code generation (icode/fcode) errors

This commit is contained in:
Ulf Norell
2019-09-03 10:21:37 +02:00
parent f2469a676d
commit 510935d945
20 changed files with 481 additions and 208 deletions
+2 -2
View File
@@ -33,10 +33,10 @@ string(String, Included, Opts) ->
{ok, AST} ->
case expand_includes(AST, Included, Opts) of
{ok, AST1} -> AST1;
{error, Err} -> throw({parse_errors, [mk_error(Err)]})
{error, Err} -> aeso_errors:throw(mk_error(Err))
end;
{error, Err} ->
throw({parse_errors, [mk_error(Err)]})
aeso_errors:throw(mk_error(Err))
end.
type(String) ->