test: expand golden C-codegen tests from 2 to 8 examples
Add golden tests for: structs, generics, algebraic_enums, enums, methods, strings. Each test captures the expected C output from the bootstrap compiler for regression detection. Also remove leftover 'PARSER FIX V2 ACTIVE' debug print from parser.bux.
This commit is contained in:
@@ -553,7 +553,6 @@ func parserParsePostfixExpr(p: *Parser) -> *Expr {
|
||||
let siCol: uint32 = parserCurToken(p).column;
|
||||
let typeName: String = left.strValue;
|
||||
var fieldCount: int = 0;
|
||||
PrintLine("PARSER FIX V2 ACTIVE");
|
||||
var firstField: *Expr = null as *Expr;
|
||||
var lastField: *Expr = null as *Expr;
|
||||
while !parserCheck(p, tkRBrace) && parserPeek(p, 0) != tkEndOfFile {
|
||||
|
||||
Reference in New Issue
Block a user