Rename leafrefBase to leafrefBaseType
leafrefBase could also mean the path of leafref and that's kind of
misleading.
Change-Id: I56e0b0edd0f21d5ca289ad9cfc4e056d79f6bed0
diff --git a/src/ast_handlers.hpp b/src/ast_handlers.hpp
index 04e890a..456ef11 100644
--- a/src/ast_handlers.hpp
+++ b/src/ast_handlers.hpp
@@ -426,7 +426,7 @@
auto type = schema.leafType(parserContext.m_tmpListKeyLeafPath.m_location, parserContext.m_tmpListKeyLeafPath.m_node);
if (type == yang::LeafDataTypes::LeafRef) {
- type = schema.leafrefBase(parserContext.m_tmpListKeyLeafPath.m_location, parserContext.m_tmpListKeyLeafPath.m_node);
+ type = schema.leafrefBaseType(parserContext.m_tmpListKeyLeafPath.m_location, parserContext.m_tmpListKeyLeafPath.m_node);
}
if (type != TYPE) {