From 769e8ac9c17779a15492d7fcfc1931c014670c2d Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 25 Mar 2014 21:46:21 -0700 Subject: Add deprecation warnings for script syntax changes --- src/map/magic-v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/magic-v2.cpp') diff --git a/src/map/magic-v2.cpp b/src/map/magic-v2.cpp index 9fb5001..1fad61d 100644 --- a/src/map/magic-v2.cpp +++ b/src/map/magic-v2.cpp @@ -762,7 +762,7 @@ namespace magic_v2 if (s._list[1]._type != sexpr::STRING) return fail(s._list[1], "not string"); ZString body = s._list[1]._str; - std::unique_ptr script = parse_script(body, s._list[1]._span.begin.line); + std::unique_ptr script = parse_script(body, s._list[1]._span.begin.line, true); if (!script) return fail(s._list[1], "script does not compile"); out = new_effect(EFFECT::SCRIPT); -- cgit v1.2.3-60-g2f50