global-functions: $ValidateSyntax: add line breaks

This makes sure the closing curly bracket is not hidden in comment.
This commit is contained in:
Christian Hesse 2021-02-26 20:59:27 +01:00
parent 99d3e5d578
commit a019ff861e

View file

@ -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;
}