Check for shaders without closing brace
Shaders without closing brace can eat shaders in other files. Pass depth to SkipBracedSection instead of reparsing text as it messed up parse line numbers.
This commit is contained in:
@@ -752,7 +752,7 @@ typedef struct pc_token_s
|
||||
|
||||
void COM_MatchToken( char**buf_p, char *match );
|
||||
|
||||
void SkipBracedSection (char **program);
|
||||
qboolean SkipBracedSection (char **program, int depth);
|
||||
void SkipRestOfLine ( char **data );
|
||||
|
||||
void Parse1DMatrix (char **buf_p, int x, float *m);
|
||||
|
Reference in New Issue
Block a user