F diff --git a/src/environment/error/gcc_error.c b/src/environment/error/gcc_error.c
--- a/src/environment/error/gcc_error.c
+++ b/src/environment/error/gcc_error.c
}
void push_lexing_error(const char *error_message,struct Source_File *src,struct Translation_Data *translation_data, ...)
{
- wonky_assert(SHOULD_NOT_REACH_HERE);
+ va_list args;
+ va_start(args,translation_data);
+ push_translation_message_inner("[Error] ",error_message,translation_data,args);
+ va_end(args);
}
- void push_lexing_note(const char *error_message,struct Source_File *src,struct Translation_Data *translation_data, ...)
+ void push_lexing_note(const char *note_message,struct Source_File *src,struct Translation_Data *translation_data, ...)
{
- wonky_assert(SHOULD_NOT_REACH_HERE);
+ va_list args;
+ va_start(args,translation_data);
+ push_translation_message_inner("[Note] ",note_message,translation_data,args);
+ va_end(args);
}
void push_raw_translation_error(const char *error_message,size_t line,size_t column,const char *filename,struct Translation_Data *translation_data)
{