summaryrefslogtreecommitdiff
path: root/operetta.c
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-06-13 04:10:21 -0700
committerKai Stevenson <kai@kaistevenson.com>2023-06-13 04:10:21 -0700
commitf32a19fee2a3016b6393272dc2c054ff02e63b7f (patch)
tree57569371835e6ecf2c0e110da2405484b1e27ec3 /operetta.c
parent2f7ac38cca2ebab41b8adb76b69e0949eeae488d (diff)
added scoping; probably doesn't work
Diffstat (limited to 'operetta.c')
-rw-r--r--operetta.c2
1 files changed, 1 insertions, 1 deletions
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);