functions are now case sensitive. Modules are still case insensitive.

This commit is contained in:
gnembon committed 2020-07-28 00:04:22 -03:00
1 parent 7a1e05cfa1
commit 2c7c7d9bc6
3 files changed
+7 -10

No files matched your search

@@ -210,7 +210,7 @@ public class CarpetScriptHost extends ScriptHost
switch (tok.type)
{
case VARIABLE:
LazyValue var = getGlobalVariable(tok.surface.toLowerCase(Locale.ROOT));
LazyValue var = getGlobalVariable(tok.surface);
if (var != null)
{
argv.add(var);