load_std_lib moved to anothep place in file
This commit is contained in:
parent
e6cf7aa636
commit
a87ceb2f19
9
ml.cpp
9
ml.cpp
|
|
@ -2196,9 +2196,6 @@ MlValue usql(std::vector<MlValue> args, MlEnvironment &env) {
|
|||
|
||||
} // namespace builtin
|
||||
|
||||
void load_std_lib(MlEnvironment &env) {
|
||||
run(STDLIB_LOADER, env);
|
||||
}
|
||||
|
||||
// Does this environment, or its parent environment, have a variable?
|
||||
bool MlEnvironment::has(const std::string &name) const {
|
||||
|
|
@ -2440,6 +2437,12 @@ std::vector<std::string> getCmdOption(char *argv[], int argc, const std::string
|
|||
return tokens;
|
||||
}
|
||||
|
||||
|
||||
void load_std_lib(MlEnvironment &env) {
|
||||
run(STDLIB_LOADER, env);
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
MlEnvironment env;
|
||||
std::vector<MlValue> args;
|
||||
|
|
|
|||
Loading…
Reference in New Issue