aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/parser.h b/include/parser.h
index 8207381..d66a096 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -15,9 +15,9 @@ typedef struct {
Tokenizer tokenizer;
} Parser;
-WARN_UNUSED_RESULT int parser_init(Parser *self);
+CHECK_RESULT int parser_init(Parser *self);
void parser_deinit(Parser *self);
-WARN_UNUSED_RESULT int parser_parse_buffer(Parser *self, BufferView code_buffer);
+CHECK_RESULT int parser_parse_buffer(Parser *self, BufferView code_buffer);
#endif