[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question on SMIv2 compliance statements




Is the following legal in SMIv2 (RFC 2580)?

xyzMIBCompliance MODULE-COMPLIANCE
    [...]
    OBJECT	foo
    SYNTAX	[...]
    DESCRIPTION "..."
    OBJECT	foo
    SYNTAX	[...]
    DESCRIPTION "..."
    [...]

In other words: Is it legal to have multiple OBJECT statements for the
same object in a single MODULE-COMPLIANCE macro invocation?

What do existing compilers do in this case?

/js

-- 
Juergen Schoenwaelder      Technical University Braunschweig
<schoenw@ibr.cs.tu-bs.de>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>