summaryrefslogtreecommitdiff
path: root/operetta.c
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-06-13 14:21:07 -0700
committerKai Stevenson <kai@kaistevenson.com>2023-06-13 14:21:07 -0700
commitcaa9d17ea794a0b4823170551545498d458e1fc2 (patch)
tree1308f38b48ed02cc3b1fda492d806e73a189e447 /operetta.c
parentf32a19fee2a3016b6393272dc2c054ff02e63b7f (diff)
implemented scoping for some justifications, added helper functions
Diffstat (limited to 'operetta.c')
-rw-r--r--operetta.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/operetta.c b/operetta.c
index f547f2f..f754895 100644
--- a/operetta.c
+++ b/operetta.c
@@ -21,7 +21,8 @@ int main(int argc, char** argv) {
write_prop(line.proposition);
printf(" BECAUSE: ");
write_just(line.justification);
- printf(just_is_sound(line.proposition, line.justification, lines) ? " <SOUND>" : " <UNSOUND>");
+ printf(just_is_sound(line, lines) ? " <SOUND>" : " <UNSOUND>");
+ printf(" [%d]", line.scope.id);
printf("\n");
}
free(content);