aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/compile/snmpc.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2010-12-03 16:40:27 +0100
committerMicael Karlberg <[email protected]>2010-12-03 16:40:27 +0100
commitc5c4c480f559b805a73d31448e211235da1a2098 (patch)
tree08e914cf84b59a617cbe9f20c0b88646b8a16f6e /lib/snmp/src/compile/snmpc.erl
parent314e80f58bbee2924bf61bdc7b987750d58ca2ef (diff)
downloadotp-c5c4c480f559b805a73d31448e211235da1a2098.tar.gz
otp-c5c4c480f559b805a73d31448e211235da1a2098.tar.bz2
otp-c5c4c480f559b805a73d31448e211235da1a2098.zip
The parser exports even more of the module-complience data for future use.
In later stages, the compiler curently dropps this info.
Diffstat (limited to 'lib/snmp/src/compile/snmpc.erl')
-rw-r--r--lib/snmp/src/compile/snmpc.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/snmp/src/compile/snmpc.erl b/lib/snmp/src/compile/snmpc.erl
index d6abf273a1..af6e39d058 100644
--- a/lib/snmp/src/compile/snmpc.erl
+++ b/lib/snmp/src/compile/snmpc.erl
@@ -933,18 +933,19 @@ definitions_loop([{#mc_agent_capabilities{name = Name,
"~n Parent: ~p"
"~n SubIndex: ~p",
[Name, Status, Desc, Parent, SubIdx], Line),
+ update_status(Name, Status),
ensure_macro_imported('AGENT-CAPABILITIES', Line),
snmpc_lib:register_oid(Line, Name, Parent, SubIdx),
- NewME = snmpc_lib:makeInternalNode2(false, Name),
+ NewME = snmpc_lib:makeInternalNode2(false, Name),
Description = make_description(Desc),
- Reference =
+ Reference =
case Ref of
undefined ->
[];
_ ->
[{reference, Ref}]
end,
- Modules =
+ Modules =
case Mods of
undefined ->
[];