
Hi!
Juergen> Frank, since you are more familiar with the grammar, can you Juergen> take the token to remove the code that parses nice but Juergen> illegal OID values in DEFVALs?
The parser spits out a warning like...
SOME-SMIv2-MIB:382: warning: OBJECT IDENTIFIER default values must be expressed as a single identifier
I just turned it into an error in case of reading an SMIv2 module:
SOME-SMIv1:191: [4] {default-too-long-smiv1} OBJECT IDENTIFIER default values in form of sub-identifier sequences are not implemented SOME-SMIv2:382: [2] {default-too-long-smiv2} OBJECT IDENTIFIER default values must be expressed as a single identifier
I don't want to eliminate this completely from the grammar, because SMIv1 does not forbid to specify OID DEFVAL as a sequence of sub-identifiers. IMHO, the real TODO here is to full support for SMIv1 (but v1 going to be obsoleted anyway :-)).
-frank