Browse Source

Fix non-compiling typo in Expression.xml example

Slight typo in Expression.xml prevented compilation when copy/pasted.
Kyle Szklenski 6 years ago
parent
commit
fb61080812
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/Expression.xml

+ 1 - 1
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():