diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-06-11 23:33:40 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-06-11 23:33:40 -0700 |
| commit | 43bfe5935b3f1d38775c3bc65262aca5683c0fb5 (patch) | |
| tree | c2290c617bc40cc5f4a33c56d54548a6d9084253 /lexer.c | |
| parent | d063e3c2c6f4b1566c28d0ea92186f356017f99f (diff) | |
added parsing of justifications
Diffstat (limited to 'lexer.c')
| -rw-r--r-- | lexer.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -120,6 +120,14 @@ token_t lex_first_token(char** content) { free(s); return init_token(ASSUMPTION, NULL); } + else if (strcmp(s, "i") == 0) { + free(s); + return init_token(INTRODUCTION, NULL); + } + else if (strcmp(s, "e") == 0) { + free(s); + return init_token(ELIMINATION, NULL); + } else if (strcmp(s, "^") == 0) { free(s); return init_token(CONJUNCTION, NULL); |
