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:
ed committed 2023-08-08 22:14:58 -04:00
1 parent bb35444be9
commit b5fa864318
9 files changed
+223 -224

No files matched your search

+2 -2
View File
@@ -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;
)));
+2 -2
View File
@@ -16,9 +16,9 @@ int gen_main()
// check_sanity();
check_SOA();
// check_SOA();
// check_singleheader_ast();
check_singleheader_ast();
return 0;
}