mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-15 03:01:47 -07:00
Fixes for compiling with clang
Clang just had better errors and caught stuff msvc did not.
This commit is contained in:
@ -4821,7 +4821,7 @@ CodeType parse_type( bool* typedef_is_function )
|
||||
if ( is_function_typename )
|
||||
{
|
||||
// Go to the end of the signature
|
||||
while ( scanner->Type != TokType::Statement_End && scanner->TokType::BraceCurly_Open )
|
||||
while ( scanner->Type != TokType::Statement_End && scanner->Type != TokType::BraceCurly_Open )
|
||||
++ scanner;
|
||||
|
||||
// Go back to the first capture start found
|
||||
|
Reference in New Issue
Block a user