diff options
Diffstat (limited to 'modules/gdscript/gdscript_tokenizer.h')
| -rw-r--r-- | modules/gdscript/gdscript_tokenizer.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_tokenizer.h b/modules/gdscript/gdscript_tokenizer.h index bea4b14019..84b82c07f0 100644 --- a/modules/gdscript/gdscript_tokenizer.h +++ b/modules/gdscript/gdscript_tokenizer.h @@ -217,6 +217,7 @@ private:  	Token last_newline;  	int pending_indents = 0;  	List<int> indent_stack; +	List<List<int>> indent_stack_stack; // For lambdas, which require manipulating the indentation point.  	List<char32_t> paren_stack;  	char32_t indent_char = '\0';  	int position = 0; @@ -263,6 +264,8 @@ public:  	void set_multiline_mode(bool p_state);  	bool is_past_cursor() const;  	static String get_token_name(Token::Type p_token_type); +	void push_expression_indented_block(); // For lambdas, or blocks inside expressions. +	void pop_expression_indented_block(); // For lambdas, or blocks inside expressions.  	GDScriptTokenizer();  };  |