mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-09 17:44:29 +02:00
global-functions: $ValidateSyntax: add line breaks
This makes sure the closing curly bracket is not hidden in comment.
This commit is contained in:
parent
99d3e5d578
commit
a019ff861e
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@
|
||||||
:local Code [ :tostr $1 ];
|
:local Code [ :tostr $1 ];
|
||||||
|
|
||||||
:do {
|
:do {
|
||||||
[ :parse (":local Validate do={ " . $Code . " }") ];
|
[ :parse (":local Validate do={\n" . $Code . "\n}") ];
|
||||||
} on-error={
|
} on-error={
|
||||||
:return false;
|
:return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue