Cleanup and delete dead code
This commit is contained in:
+1
-13
@@ -2,7 +2,7 @@ proc create_source_code_location(String* file, int line, int col) -> Source_Code
|
||||
if (!file)
|
||||
return nullptr;
|
||||
|
||||
Source_Code_Location* ret = new(Source_Code_Location);
|
||||
Source_Code_Location* ret = (Source_Code_Location*)malloc(sizeof(Source_Code_Location));
|
||||
ret->file = file;
|
||||
ret->line = line;
|
||||
ret->column = col;
|
||||
@@ -28,18 +28,6 @@ proc Lisp_Object_Type_to_string(Lisp_Object_Type type) -> const char* {
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
proc append_to_positional_argument_list(Positional_Arguments* args, Lisp_Object* sym) -> void {
|
||||
args->symbols.append(sym);
|
||||
}
|
||||
|
||||
proc append_to_keyword_argument_list(Keyword_Arguments* args,
|
||||
Lisp_Object* keyword,
|
||||
Lisp_Object* default_value) -> void
|
||||
{
|
||||
args->keywords.append(keyword);
|
||||
args->values.append(default_value);
|
||||
}
|
||||
|
||||
Lisp_Object::~Lisp_Object() {
|
||||
free(sourceCodeLocation);
|
||||
sourceCodeLocation = 0;
|
||||
|
||||
Reference in New Issue
Block a user