Partial parser implementation

This commit is contained in:
2025-04-01 17:16:21 +02:00
parent 6ca7bb3661
commit b70b6896bf
3 changed files with 151 additions and 1 deletions

View File

@ -97,4 +97,7 @@ bool is_section_token(lexer_token_t *token) {
return strcmp(token->value, "section") == 0;
}
parse_result_t parse_section(tokenlist_entry_t *current) {}
parse_result_t parse_section(tokenlist_entry_t *current) {
return parse_token(current, TOKEN_IDENTIFIER, NODE_SECTION,
is_section_token);
}