Skip to content

Commit

Permalink
Merge pull request #83588 from voidedWarranties/fix_sle_validate
Browse files Browse the repository at this point in the history
Add `path` option to `ScriptLanguageExtension::_validate`
  • Loading branch information
akien-mga committed Oct 24, 2023
2 parents c20e948 + e8309dd commit 792afd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/object/script_language_extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ class ScriptLanguageExtension : public ScriptLanguage {
ERR_CONTINUE(!err.has("message"));

ScriptError serr;
if (err.has("path")) {
serr.path = err["path"];
}
serr.line = err["line"];
serr.column = err["column"];
serr.message = err["message"];
Expand Down

0 comments on commit 792afd2

Please sign in to comment.