1
0
mirror of https://github.com/Ed94/gencpp.git synced 2025-07-08 22:55:45 -07:00

Fixes and improvements to serialization.

There were multiple issues with comment and newline lexing.

Extended printing functions to support Strings with %S flag (captial 'S').
Allows for length detection. Also made it so that precision for strings is the string length.
This commit is contained in:
2023-08-08 22:14:58 -04:00
parent bb35444be9
commit b5fa864318
9 changed files with 223 additions and 224 deletions

@ -118,9 +118,9 @@ void check_SOA()
{
log_fmt("\ncheck_SOA:");
gen::init();
Builder soa_test = Builder::open( "SOA.gen.hpp" );
soa_test.print( parse_using( code(
using u16 = unsigned short;
)));

@ -16,9 +16,9 @@ int gen_main()
// check_sanity();
check_SOA();
// check_SOA();
// check_singleheader_ast();
check_singleheader_ast();
return 0;
}