diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-06-13 14:21:07 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-06-13 14:21:07 -0700 |
| commit | caa9d17ea794a0b4823170551545498d458e1fc2 (patch) | |
| tree | 1308f38b48ed02cc3b1fda492d806e73a189e447 /operetta.c | |
| parent | f32a19fee2a3016b6393272dc2c054ff02e63b7f (diff) | |
implemented scoping for some justifications, added helper functions
Diffstat (limited to 'operetta.c')
| -rw-r--r-- | operetta.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |
