|
|
|
@@ -101,13 +101,6 @@ Ast_Node* parse_keyword(char* text, int* index_in_text) { |
|
|
|
Ast_Node* parse_symbol(char* text, int* index_in_text) { |
|
|
|
// we are now at the first char of the symbol |
|
|
|
char* str_symbol = read_atom(text, index_in_text); |
|
|
|
|
|
|
|
if (string_equal(str_symbol, "nil")) { |
|
|
|
return create_ast_node_nil(); |
|
|
|
} |
|
|
|
if (string_equal(str_symbol, "t")) { |
|
|
|
return create_ast_node_t(); |
|
|
|
} |
|
|
|
return create_ast_node_symbol(str_symbol); |
|
|
|
} |
|
|
|
|
|
|
|
|