Fix parse_token to add the correct information to a parse node
This commit is contained in:
		| @@ -37,6 +37,8 @@ parse_result_t parse_token(tokenlist_entry_t *current, | ||||
|     error_t *err = ast_node_alloc(&node); | ||||
|     if (err) | ||||
|         return parse_error(err); | ||||
|     node->id = ast_id; | ||||
|     node->token_entry = current; | ||||
|  | ||||
|     return parse_success(node, current->next); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user