Merge pull request #83588 from voidedWarranties/fix_sle_validate

Add `path` option to `ScriptLanguageExtension::_validate`
This commit is contained in:
Rémi Verschelde 2023-10-24 10:54:11 +02:00
commit 792afd2cad
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 3 additions and 0 deletions

View File

@ -313,6 +313,9 @@ public:
ERR_CONTINUE(!err.has("message")); ERR_CONTINUE(!err.has("message"));
ScriptError serr; ScriptError serr;
if (err.has("path")) {
serr.path = err["path"];
}
serr.line = err["line"]; serr.line = err["line"];
serr.column = err["column"]; serr.column = err["column"];
serr.message = err["message"]; serr.message = err["message"];