mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix Shader Preprocessor line numbering when disabled
This commit is contained in:
parent
8f7b09916d
commit
34896d8e89
2 changed files with 8 additions and 12 deletions
|
@ -83,7 +83,7 @@ private:
|
|||
int line;
|
||||
int index;
|
||||
int size;
|
||||
Vector<Token> generated;
|
||||
LocalVector<Token> generated;
|
||||
|
||||
private:
|
||||
void add_generated(const Token &p_t);
|
||||
|
@ -95,7 +95,7 @@ private:
|
|||
char32_t peek();
|
||||
int consume_line_continuations(int p_offset);
|
||||
|
||||
void get_and_clear_generated(Vector<Token> *r_out);
|
||||
void get_and_clear_generated(LocalVector<char32_t> *r_out);
|
||||
void backtrack(char32_t p_what);
|
||||
LocalVector<Token> advance(char32_t p_what);
|
||||
void skip_whitespace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue