Replaced compile-time with CLICON_YANG_USE_ORIGINAL

Use original yang object in grouping/augment
This commit is contained in:
Olof hagsand 2024-09-26 15:17:57 +02:00
parent 45e744d6eb
commit 1994a405dd
4 changed files with 27 additions and 18 deletions

View file

@ -204,9 +204,3 @@
* If not set, reduces memory with 8 bytes per yang-stmt.
*/
#undef YANG_SPEC_LINENR
/*! Use ref origin pointer to skip as many derived yang nodes as possible
*
* If set, do not copy some YANG nodes to derived trees (ie augmented or grouped trees)
*/
#define YANG_ORIG_PTR_SKIP