fix: module syntax — changed src_bux/*.bux from module X; to module X { ... }

This commit is contained in:
2026-05-31 14:14:42 +03:00
parent 3c2a6e68b9
commit f4de065160
15 changed files with 632 additions and 628 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
// parser.bux — Recursive descent parser (ported from parser.nim)
// Parses Bux source tokens into an AST.
module Parser;
module Parser {
extern func bux_strlen(s: String) -> uint;
@@ -1002,4 +1002,4 @@ func Parser_DiagCount(p: *Parser) -> int {
func Parser_Free(p: *Parser) {
bux_free(p.diags as *void);
bux_free(p as *void);
}
}