mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $ValidateSyntax: add line breaks
This makes sure the closing curly bracket is not hidden in comment.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user