commit | 912f3d564f81100ab34911e0bc88d93daf41a07b | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Wed Oct 12 10:02:33 2022 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 18 08:45:35 2022 +0200 |
tree | 2ad218083284e07aea28b98833ad647a709dd0bd | |
parent | 7ed8d035c3455b5f71d382e80b88c17304b51198 [diff] [blame] |
yanglint BUGFIX specifying multiple searchpaths
diff --git a/tools/lint/common.h b/tools/lint/common.h index 6d61d38..7c6a8ad 100644 --- a/tools/lint/common.h +++ b/tools/lint/common.h
@@ -44,6 +44,12 @@ #define YLMSG_W(...) \ fprintf(stderr, "YANGLINT[W]: " __VA_ARGS__) +#ifndef _WIN32 +# define PATH_SEPARATOR ":" +#else +# define PATH_SEPARATOR ";" +#endif + /** * @brief Storage for the list of the features (their names) in a specific YANG module. */