lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

New compiler does not support some comment style #240

Closed lextudio-support closed 3 hours ago

lextudio-support commented 3 hours ago

ASN.1 only allows single line comment, such as

-- this is a single line comment

However, SNMP introduces inline comment, such as

-- this is an inline comment -- this is not part of comment

Currently, the new compiler (SharpSnmpLib.Ast project) does not support inline comment.

A simple workaround is to change inline comment to single line comment.

Original Reported Date: 2012-01-02T05:41:23.267-08:00 Planned For Release: TritonMate (8.0) Original CodePlex ID: 7227

lextudio-support commented 3 hours ago

Copied from CodePlex without authors:

I am now more familiar with ANTLR, but is not yet able to write the proper rule to handle inline comment. Will explore this when I am ready.

Original Posted Date: 2012-01-02T05:42:10.487-08:00

lextudio-support commented 3 hours ago

Fixed in 73da03e2b17f

Original Closed Date: 2012-01-07T05:03:46.703-08:00