Skip to content

Commit

Permalink
use #yctx.xpath_functions in xpath compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj4668 committed Nov 29, 2024
1 parent 13924ea commit 452b9ff
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 174 deletions.
2 changes: 1 addition & 1 deletion include/yang.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
-record(yctx, {
search_path = [] :: [DirName :: string()],
verbosity = ?V_SILENT :: yang:verbosity(),
xpath_functions = [] :: [{Name :: atom(), Arity :: integer()}],
xpath_functions = [] :: [{Name :: atom(), Arity :: integer(), Type :: yang_xpath:type()}],
primary_module_names = [] :: [atom()],
%% contains all modules and submodules found
modrevs :: yang:map(yang:modrev(), #module{}),
Expand Down
Loading

0 comments on commit 452b9ff

Please sign in to comment.