You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Improve GDScript "unexpected token in class body" parser error
This parser error was misleading. Fixes: 1. Now points at correct line 2. For identifiers, prints out `Identifier "%s"`
This commit is contained in:
@@ -178,6 +178,7 @@ public:
|
||||
String source;
|
||||
|
||||
const char *get_name() const;
|
||||
String get_debug_name() const;
|
||||
bool can_precede_bin_op() const;
|
||||
bool is_identifier() const;
|
||||
bool is_node_name() const;
|
||||
|
||||
Reference in New Issue
Block a user