[PT-167805291] Add opcode for ecrecover #613

Merged
zxq9 merged 6 commits from PT-167805291-opcode-ecrecover into master 2019-08-15 04:02:46 +09:00
Showing only changes of commit 599e640df4 - Show all commits

View File

@ -574,15 +574,13 @@ pp(Code, Options, Option, PPFun) ->
ok
end.
%% -------------------------------------------------------------------
%% TODO: Tempoary parser hook below...
-spec parse_stdlib() -> none() | [aeso_syntax:ast()].
-spec parse_stdlib() -> none() | aeso_syntax:ast().
parse_stdlib() ->
lists:foldr(
fun ({Lib, LibCode}, Acc) ->
parse(LibCode, [{src_file, Lib}]) ++ Acc
parse(LibCode, [{src_file, binary_to_list(Lib)}]) ++ Acc
end,
[],
aeso_stdlib:stdlib_list()).