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 /parse.h | |
| parent | 3bd120957d570756d396db8a112113f2ffb8f33b (diff) | |
added indentation support for |as rule
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ #define PARSE #include "proposition.h" typedef struct Line { + int aLevel; prop_t proposition; just_t justification; } line_t; @@ -9,7 +10,7 @@ typedef struct LineSet { line_t* lines; int count; } lineSet_t; -line_t init_line(prop_t proposition, just_t justification); +line_t init_line(int aLevel, prop_t proposition, just_t justification); lineSet_t init_lineset(line_t* lines, int count); int count_lines(char* content); lineSet_t parse_lines(char* content, int lineCount); |
