From f32a19fee2a3016b6393272dc2c054ff02e63b7f Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Tue, 13 Jun 2023 04:10:21 -0700 Subject: added scoping; probably doesn't work --- operetta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'operetta.c') diff --git a/operetta.c b/operetta.c index c72a979..f547f2f 100644 --- a/operetta.c +++ b/operetta.c @@ -15,7 +15,7 @@ int main(int argc, char** argv) { for (int i = 0; i < lines.count; i++) { line_t line = lines.lines[i]; printf("%d. ", i + 1); - for (int j = 0; j < line.aLevel; j++) { + for (int j = 0; j < line.scope.depth; j++) { printf(" > "); } write_prop(line.proposition); -- cgit v1.3.1