mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Upgrade to nom v5
Error handling has changed, affecting the error variants LCI exports, and macros are replaced by functions, so all the parsing code has been rewritten.
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ void test_lci_get_error_message() {
|
||||
return_code = lci_get_error_message(&message);
|
||||
assert(return_code == LCI_OK);
|
||||
assert(message != nullptr);
|
||||
assert(strcmp(message, "An error was encountered in the parser \"SeparatedList\" while parsing the expression \"file(\\\"Blank.\"") == 0);
|
||||
assert(strcmp(message, "An error was encountered while parsing the expression \"file(\\\"Blank.\": Error in parser: Separated list") == 0);
|
||||
}
|
||||
|
||||
void test_lci_state_create() {
|
||||
|
||||
Reference in New Issue
Block a user