summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rw-r--r--indra/newview/llpreviewscript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index 3eadca7a40..da788775f1 100644
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -125,7 +125,7 @@ static bool have_lua_enabled(const LLUUID& object_id)
// TEMPORARY: Quick check to see if the code is Lua
// since we don't have another way to determine the language yet
-static bool is_lua_script(const std::string& code)
+bool is_lua_script(const std::string& code)
{
// Check for LSL's signature "default" state pattern
std::regex lsl_pattern("\\s*default\\s*\\{");