diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-06-13 01:23:42 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-06-13 01:23:42 -0700 |
| commit | 8f4eb9fc953512365f9258ffd5d11ed8950f77a9 (patch) | |
| tree | 113ac7d09640e97fa678f098809b20b63c310286 /operetta.c | |
| parent | 3bd120957d570756d396db8a112113f2ffb8f33b (diff) | |
added indentation support for |as rule
Diffstat (limited to 'operetta.c')
| -rw-r--r-- | operetta.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ int main(int argc, char** argv) { int lineCount = count_lines(content); lineSet_t lines = parse_lines(content, lineCount); for (int i = 0; i < lines.count; i++) { + for (int j = 0; j < lines.lines[i].aLevel; j++) { + printf(" > "); + } write_prop(lines.lines[i].proposition); printf(" BECAUSE: "); write_just(lines.lines[i].justification); |
