mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Support shader preprocessor concatenation symbol
This commit is contained in:
parent
eca6f0eb54
commit
6e1f68109b
4 changed files with 393 additions and 12 deletions
|
@ -205,6 +205,7 @@ private:
|
|||
Error expand_macros(const String &p_string, int p_line, String &r_result);
|
||||
bool expand_macros_once(const String &p_line, int p_line_number, const RBMap<String, Define *>::Element *p_define_pair, String &r_expanded);
|
||||
bool find_match(const String &p_string, const String &p_value, int &r_index, int &r_index_start);
|
||||
void concatenate_macro_body(String &r_body);
|
||||
|
||||
String next_directive(Tokenizer *p_tokenizer, const Vector<String> &p_directives);
|
||||
void add_to_output(const String &p_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue