Wireshark-bugs: [Wireshark-bugs] [Bug 2351] SNMP MIB parse error
Date: Wed, 12 Mar 2008 15:04:06 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2351


LEGO <luis.ontanon@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #2 from LEGO <luis.ontanon@xxxxxxxxx>  2008-03-12 15:04:05 GMT ---
Works as specified

See extract from X.680

11.6 Comments
Name of lexical item – comment
11.6.1 A "comment" is not referenced in the definition of the ASN.1 notation.
It may, however, appear at any time
between other lexical items, and has no syntactic significance.
NOTE – Nonetheless, in the context of a Recommendation | International
Standard that uses ASN.1, an ASN.1 comment may
contain normative text related to the application semantics, or constraints on
the syntax.
11.6.2 The lexical item "comment" can have two forms:
a) One-line comments which begin with "--" as defined in 11.6.3;
b) Multiple-line comments which begin with "/*" as defined in 11.6.4.
11.6.3 Whenever a "comment" begins with a pair of adjacent hyphens, it shall
end with the next pair of adjacent
hyphens or at the end of the line, whichever occurs first. A comment shall not
contain a pair of adjacent hyphens other
than the pair which starts it and the pair, if any, which ends it. If a comment
beginning with "--" includes the adjacent
characters "/*" or "*/", these have no special meaning and are considered part
of the comment. The comment may
include graphic symbols which are not in the character set specified in 10.1
(see 10.3).
11.6.4 Whenever a "comment" begins with "/*", it shall end with a corresponding
"*/", whether this "*/" is on the
same line or not. If another "/*" is found before a "*/", then the comment
terminates when a matching "*/" has been
found for each "/*". If a comment beginning with "/*" includes two adjacent
hyphens "--", these hyphens have no
special meaning and are considered part of the comment. The comment may include
graphic symbols which are not in
the character set specified in 10.1 (see 10.3).
NOTE – This allows the user to comment parts of an ASN.1 module that already
contain comments (whether they begin with "--"
or "/*") by simply inserting "/*" at the beginning of the part to be commented
and


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.