[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 ok
end. end.
%% ------------------------------------------------------------------- %% -------------------------------------------------------------------
%% TODO: Tempoary parser hook below...
-spec parse_stdlib() -> none() | [aeso_syntax:ast()]. -spec parse_stdlib() -> none() | aeso_syntax:ast().
parse_stdlib() -> parse_stdlib() ->
lists:foldr( lists:foldr(
fun ({Lib, LibCode}, Acc) -> fun ({Lib, LibCode}, Acc) ->
parse(LibCode, [{src_file, Lib}]) ++ Acc parse(LibCode, [{src_file, binary_to_list(Lib)}]) ++ Acc
end, end,
[], [],
aeso_stdlib:stdlib_list()). aeso_stdlib:stdlib_list()).