2022-04-24 14:10:35 +00:00
|
|
|
#include "apfl.h"
|
|
|
|
|
|
|
|
|
|
const struct apfl_messages apfl_messages = {
|
2022-06-24 21:13:44 +00:00
|
|
|
.invalid_stack_index = "Invalid stack index",
|
2022-04-24 14:10:35 +00:00
|
|
|
.could_not_alloc_mem = "Could not allocate memory",
|
|
|
|
|
.input_error_while_parsing = "Input error while parsing",
|
|
|
|
|
.unexpected_end_of_file = "Unexpected end of file",
|
|
|
|
|
.feature_not_implemented = "Feature not implemented",
|
2022-06-24 21:13:44 +00:00
|
|
|
.corrupted_bytecode = "Bytecode is corrupted",
|
|
|
|
|
.not_a_list = "Value is not a list",
|
|
|
|
|
.not_a_dict = "Value is not a dictionary",
|
|
|
|
|
.key_doesnt_exist = "Key does not exist",
|
|
|
|
|
.value_is_not_a_container = "Value is not a container (list or dictionary)",
|
|
|
|
|
.wrong_key_type = "Wrong key type",
|
|
|
|
|
.variable_doesnt_exist = "Variable does not exist",
|
2022-07-11 19:41:05 +00:00
|
|
|
.not_a_c_function = "Not a C function",
|
|
|
|
|
.invalid_slotidx = "Invalid slot index",
|
|
|
|
|
.not_a_function = "Not a function",
|
|
|
|
|
.wrong_type = "Wrong type",
|
2022-07-12 20:13:07 +00:00
|
|
|
.io_error = "I/O error",
|
2022-07-28 18:46:32 +00:00
|
|
|
.value_doesnt_match = "Value does not match",
|
|
|
|
|
.invalid_matcher_state = "Matcher is in invalid state",
|
2022-08-12 22:50:26 +00:00
|
|
|
.no_matching_subfunction = "No matching subfunction",
|
2022-04-24 14:10:35 +00:00
|
|
|
};
|