Skip to content
Snippets Groups Projects
Commit d888c5fc authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

some bugs fixed (nonconstant constants)

Rev: lib/modules/Simulate.pmod:1.3
parent 66d51c85
No related branches found
No related tags found
No related merge requests found
...@@ -51,21 +51,21 @@ string *map_regexp(string *s, string reg) ...@@ -51,21 +51,21 @@ string *map_regexp(string *s, string reg)
} }
constant PI = 3.1415926535897932384626433832795080; constant PI = 3.1415926535897932384626433832795080;
constant all_efuns = all_constants; function all_efuns = all_constants;
constant explode = `/; function explode = `/;
constant filter_array = filter; function filter_array = filter;
constant map_array = map; function map_array = map;
constant implode = `*; function implode = `*;
constant m_indices = indices; function m_indices = indices;
constant m_sizeof = sizeof; function m_sizeof = sizeof;
constant m_values = values; function m_values = values;
constant strstr = search; function strstr = search;
constant sum = `+; function sum = `+;
constant add_efun = add_constant; function add_efun = add_constant;
constant l_sizeof = sizeof; function l_sizeof = sizeof;
constant listp = multisetp; function listp = multisetp;
constant mklist = mkmultiset; function mklist = mkmultiset;
constant aggregate_list = aggregate_multiset; function aggregate_list = aggregate_multiset;
#if efun(gethostname) #if efun(gethostname)
constant query_host_name=gethostname; function query_host_name=gethostname;
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment