Fix crash when loading Blender due to recent change
Issue introduced in {rB80859a6cb272} Only seen on Windows. The `keyword_parse` lambda function code did not consider `\r` as a whitespace char, resulting in a wrong parse. (More investigation needs to be done).
This commit is contained in:
parent
05715eaea1
commit
48d2f536e1
Notes:
blender-bot
2023-02-14 10:35:28 +01:00
Referenced by issue #98190, Render of 3D image is very slow
|
@ -290,7 +290,7 @@ struct GPUSource {
|
|||
{
|
||||
const StringRefNull input = source;
|
||||
|
||||
const char whitespace_chars[] = " \n\t";
|
||||
const char whitespace_chars[] = " \r\n\t";
|
||||
|
||||
auto function_parse = [&](const StringRef &input,
|
||||
int64_t &cursor,
|
||||
|
|
Loading…
Reference in New Issue