diff options
author | Richard Carlsson <richardc@klarna.com> | 2018-04-17 15:20:52 +0200 |
---|---|---|
committer | Richard Carlsson <richardc@klarna.com> | 2018-05-04 10:22:36 +0200 |
commit | f33f832d85584ffdbecf16bee8023e80c3af15ea (patch) | |
tree | 432906aeb161122255408777003f3ad26ed8de8d /lib/stdlib/src/qlc.erl | |
parent | 5684a2c7715c4cf0524a2be91ddeaf47281634bb (diff) | |
download | otp-f33f832d85584ffdbecf16bee8023e80c3af15ea.tar.gz otp-f33f832d85584ffdbecf16bee8023e80c3af15ea.tar.bz2 otp-f33f832d85584ffdbecf16bee8023e80c3af15ea.zip |
Move extended parse functions in lib.erl to erl_eval.erl
Diffstat (limited to 'lib/stdlib/src/qlc.erl')
-rw-r--r-- | lib/stdlib/src/qlc.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/qlc.erl b/lib/stdlib/src/qlc.erl index 3a66f6930b..77607494e3 100644 --- a/lib/stdlib/src/qlc.erl +++ b/lib/stdlib/src/qlc.erl @@ -638,7 +638,7 @@ string_to_handle(Str, Options, Bindings) when is_list(Str) -> case erl_scan:string(Str, 1, [text]) of {ok, Tokens, _} -> ScanRes = - case lib:extended_parse_exprs(Tokens) of + case erl_eval:extended_parse_exprs(Tokens) of {ok, [Expr0], SBs} -> {ok, Expr0, SBs}; {ok, _ExprList, _SBs} -> @@ -1196,8 +1196,8 @@ abstract1({table, TableDesc}, _NElements, _Depth, _A) -> {ok, Tokens, _} = erl_scan:string(lists:flatten(TableDesc++"."), 1, [text]), {ok, Es, Bs} = - lib:extended_parse_exprs(Tokens), - [Expr] = lib:subst_values_for_vars(Es, Bs), + erl_eval:extended_parse_exprs(Tokens), + [Expr] = erl_eval:subst_values_for_vars(Es, Bs), special(Expr); false -> % abstract expression TableDesc |