summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorKyle Szklenski <kyle.szklenski@gmail.com>2019-01-28 16:38:13 -0500
committerGitHub <noreply@github.com>2019-01-28 16:38:13 -0500
commitfb610808124b08d8e6b7a089b379e7dc59ccabdd (patch)
tree4c7afea418ad104c47688d3c772ced593d45f574 /doc/classes
parentf32c8269241ea5f293b3eda2f9dbe01ffb6f7397 (diff)
Fix non-compiling typo in Expression.xml example
Slight typo in Expression.xml prevented compilation when copy/pasted.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Expression.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Expression.xml b/doc/classes/Expression.xml
index c5f71fe55e..b0a21d7f82 100644
--- a/doc/classes/Expression.xml
+++ b/doc/classes/Expression.xml
@@ -16,7 +16,7 @@
func _on_text_entered(command):
var error = expression.parse(command, [])
if error != OK:
- print(get_error_text())
+ print(expression.get_error_text())
return
var result = expression.execute([], null, true)
if not expression.has_execute_failed():