From a019ff861eae84d3c026861807bbde3d995d41ee Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 26 Feb 2021 20:59:27 +0100 Subject: global-functions: $ValidateSyntax: add line breaks This makes sure the closing curly bracket is not hidden in comment. --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions b/global-functions index 7de3d72..92d8fea 100644 --- a/global-functions +++ b/global-functions @@ -1044,7 +1044,7 @@ :local Code [ :tostr $1 ]; :do { - [ :parse (":local Validate do={ " . $Code . " }") ]; + [ :parse (":local Validate do={\n" . $Code . "\n}") ]; } on-error={ :return false; } -- cgit v1.2.3-54-g00ecf