commit | 667ce6b28f3a746939a4bcf86f117dcf7a69c45f | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 25 15:00:27 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 25 16:26:42 2021 +0100 |
tree | b272f06c848c1bb15c861c4c7491c91ffe9f0882 | |
parent | c431a0a15ff142c9d8ba305f38fe696d2fef909f [diff] [blame] |
yanglint FEATURE use strict data parsing option by default
diff --git a/tools/lint/common.h b/tools/lint/common.h index ce4793d..85f7997 100644 --- a/tools/lint/common.h +++ b/tools/lint/common.h
@@ -28,6 +28,11 @@ #define YL_DEFAULT_CTX_OPTIONS LY_CTX_NO_YANGLIBRARY /** + * @brief Default data parsing flags. + */ +#define YL_DEFAULT_DATA_PARSE_OPTIONS LYD_PARSE_STRICT + +/** * @brief log error message */ #define YLMSG_E(MSG, ...) \