lextudio / sharpsnmplib

C# SNMP Library (#SNMP) - Open source SNMP implementation for C# and .NET
https://sharpsnmp.com
MIT License
358 stars 151 forks source link

why the field "index" doesn't be initialized in lexer.cs #645

Closed lextudio-support closed 1 month ago

lextudio-support commented 1 month ago

I think "index" is used to point to the "Symbol" in "_symbols". I don't see a constructor function in lexer.cs , and field "index" be initialized. So when using "new lexer();" and "lexer.NextSymbol", is there a probability of causing error?

Original Reported Date: 2009-11-02T23:55:21.883-08:00 Original CodePlex Discussion Thread ID: 73884

lextudio-support commented 1 month ago

Copied from CodePlex without authors:

Hi,

Please let me know if you have a specific error to report. Thanks.

We will not try to improve the existing parser as we have a new implementation in the kitchen. Hope I can post our progress on it in the next few weeks.

Regards,

Lex

Original Posted Date: 2009-11-03T21:26:37.57-08:00

lextudio-support commented 1 month ago

Marked as Answer Date: 2013-10-06T21:41:59.71-07:00