5 Commits

Author SHA1 Message Date
Joao Paulo Magalhaes
27b56e59e5 Implement FLOW_ML style: update tests 2025-12-31 18:23:44 +00:00
Joao Paulo Magalhaes
e08f69fcf6 refactor error API: update tests 2025-12-28 19:17:22 +00:00
Joao Paulo Magalhaes
8b988dd3b4 re #480 : improve deserialization of empty strings
- Deserializing an empty quoted string *will not* cause an error. Previously, this was causing an error.
  - Deserializing an empty string *will* cause an error.
  - Ensure keys are deserialized using all the rules applying to vals: add readkey() analogs to read().
  - Added `KEYNIL` and `VALNIL` to `NodeType_e`, used by the parser to mark the key or val as empty. This changed the values of the `NodeType_e` enumeration.
  - Added `NodeType::key_is_null()` and `NodeType::val_is_null()`.
2025-01-19 19:14:35 +00:00
Joao Paulo Magalhaes
38f616b7bd rename ExpectError::do_check() to ExpectError::check_error() 2024-08-12 18:38:20 +01:00
Joao Paulo Magalhaes
ad7568f4d2 event-based parser policy pt2: tests 2024-05-05 18:51:08 +02:00