aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-26 20:59:27 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-26 20:59:27 +0100
commita019ff861eae84d3c026861807bbde3d995d41ee (patch)
tree8318badba2af12c4a440e4b89401adc5ecc7e487 /global-functions
parent99d3e5d578bb73be020c718a5816f221b58a5f14 (diff)
global-functions: $ValidateSyntax: add line breaks
This makes sure the closing curly bracket is not hidden in comment.
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions2
1 files changed, 1 insertions, 1 deletions
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;
}