diff options
author | Quentin Guidée <quentin.guidee@gmail.com> | 2022-12-17 20:14:28 -0500 |
---|---|---|
committer | Quentin Guidée <quentin.guidee@gmail.com> | 2022-12-17 20:17:04 -0500 |
commit | e0f1e02cc73d69db125b8df054a274fd0a4340ae (patch) | |
tree | b5af608a2a02080a4b7cbb9fe4d144a2616ca7b0 /modules/gdscript | |
parent | d44d0cc0fd543da143010ad96978951facd87c1e (diff) |
Fix use of comma instead of semicolon
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript_codegen.h | 2 | ||||
-rw-r--r-- | modules/gdscript/language_server/godot_lsp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_codegen.h b/modules/gdscript/gdscript_codegen.h index 5972481c3a..6a94c25c88 100644 --- a/modules/gdscript/gdscript_codegen.h +++ b/modules/gdscript/gdscript_codegen.h @@ -59,7 +59,7 @@ public: type = p_type; } Address(AddressMode p_mode, uint32_t p_address, const GDScriptDataType &p_type = GDScriptDataType()) { - mode = p_mode, + mode = p_mode; address = p_address; type = p_type; } diff --git a/modules/gdscript/language_server/godot_lsp.h b/modules/gdscript/language_server/godot_lsp.h index 024da1cab7..8b58d7731e 100644 --- a/modules/gdscript/language_server/godot_lsp.h +++ b/modules/gdscript/language_server/godot_lsp.h @@ -702,7 +702,7 @@ struct DiagnosticRelatedInformation { Dictionary to_json() const { Dictionary dict; - dict["location"] = location.to_json(), + dict["location"] = location.to_json(); dict["message"] = message; return dict; } |