mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-05 21:25:44 -07:00
Fixes for test.singleheader_ast.cpp, also added a bench for it.
On a Ryzen R9 5950 it takes 11 ms to generate AST and 21 ms to serialize to file.
This commit is contained in:
@ -4262,11 +4262,6 @@ CodeUnion parse_union( bool inplace_def )
|
||||
if ( currtok.Type == TokType::Preprocess_Hash )
|
||||
eat( TokType::Preprocess_Hash );
|
||||
|
||||
if ( currtok.Line >= 3826 )
|
||||
{
|
||||
log_fmt("here");
|
||||
}
|
||||
|
||||
Code member = { nullptr };
|
||||
switch ( currtok_noskip.Type )
|
||||
{
|
||||
|
Reference in New Issue
Block a user