mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Several shader preprocessor parser fixes and improvements
This commit is contained in:
parent
cc7aa72f01
commit
6f5598979f
3 changed files with 114 additions and 35 deletions
|
@ -93,11 +93,13 @@ private:
|
|||
int get_line() const;
|
||||
int get_index() const;
|
||||
char32_t peek();
|
||||
int consume_line_continuations(int p_offset);
|
||||
|
||||
void get_and_clear_generated(Vector<Token> *r_out);
|
||||
void backtrack(char32_t p_what);
|
||||
LocalVector<Token> advance(char32_t p_what);
|
||||
void skip_whitespace();
|
||||
bool consume_empty_line();
|
||||
String get_identifier(bool *r_is_cursor = nullptr, bool p_started = false);
|
||||
String peek_identifier();
|
||||
Token get_token();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue