summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/editor/gdscript_highlighter.cpp
diff options
context:
space:
mode:
authorhbina085 <hanif.ariffin.4326@gmail.com>2019-05-20 13:36:24 -0400
committerhbina085 <hanif.ariffin.4326@gmail.com>2019-05-21 02:16:30 -0400
commitf78baa5f936cce8cff7359131a1e082cf6300c8b (patch)
treef21512c62f41260dfa1569f1b559cb21d71564b1 /modules/gdscript/editor/gdscript_highlighter.cpp
parent9643b2b6def9964a24d273e7611ebf5aeefcd4b5 (diff)
downloadredot-engine-f78baa5f936cce8cff7359131a1e082cf6300c8b.tar.gz
added a const keyword for a methods that return constant literal...
Diffstat (limited to 'modules/gdscript/editor/gdscript_highlighter.cpp')
-rw-r--r--modules/gdscript/editor/gdscript_highlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/editor/gdscript_highlighter.cpp b/modules/gdscript/editor/gdscript_highlighter.cpp
index 4f59b06ae6..060a9d6c91 100644
--- a/modules/gdscript/editor/gdscript_highlighter.cpp
+++ b/modules/gdscript/editor/gdscript_highlighter.cpp
@@ -330,7 +330,7 @@ Map<int, TextEdit::HighlighterInfo> GDScriptSyntaxHighlighter::_get_line_syntax_
return color_map;
}
-String GDScriptSyntaxHighlighter::get_name() {
+String GDScriptSyntaxHighlighter::get_name() const {
return "GDScript";
}