Fix typos using codespell

Conservative strategy was used, maybe other typos remain.

Rebased: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
jona
2020-02-13 22:15:16 +01:00
committed by Simon Goldschmidt
parent 69c4c8a074
commit d6a6b661d9
56 changed files with 86 additions and 86 deletions

View File

@@ -361,7 +361,7 @@ namespace LwipMibCompiler
}
else
{
// not accessible or unsupported accress type
// not accessible or unsupported access type
return null;
}
@@ -434,7 +434,7 @@ namespace LwipMibCompiler
{
result.AugmentedTableRow = rot.Augments;
// the indeces from another table shall be used because this table is only an extension of it
// the indices from another table shall be used because this table is only an extension of it
rot = MibTypesResolver.ResolveDeclaration(rot.Module, rot.Augments) as ObjectType;
}

View File

@@ -11,7 +11,7 @@
namespace Lextm.SharpSnmpLib.Mib.Elements.Types
{
/// <summary>
/// The SEQUENCE type represents a set of specified types. This is roughtly analogous to a <code>struct</code> in C.
/// The SEQUENCE type represents a set of specified types. This is roughly analogous to a <code>struct</code> in C.
/// </summary>
public sealed class Sequence : BaseType
{

View File

@@ -438,7 +438,7 @@ namespace Lextm.SharpSnmpLib.Mib
if (current == Symbol.DoubleDot)
{
// its a continous range
// its a continuous range
Symbol value2Symbol = symbols.NextNonEOLSymbol();
Int64? value2 = DecodeNumber(value2Symbol);
value2Symbol.Assert(value2.HasValue && (value2.Value >= value1.Value), "Invalid range declaration!");

View File

@@ -197,11 +197,11 @@ namespace Lextm.SharpSnmpLib.Mib
Symbol s = symbols.NextSymbol();
if (s != null)
{
s.Assert(false, "Invalid Entitiy declaration");
s.Assert(false, "Invalid Entity declaration");
}
else
{
throw new MibException("Invalid Entitiy declaration");
throw new MibException("Invalid Entity declaration");
}
}

View File

@@ -10,7 +10,7 @@ namespace Lextm.SharpSnmpLib.Mib
}
/// <summary>
/// Returns the values of the map as continous range. At best as one range.
/// Returns the values of the map as continuous range. At best as one range.
/// </summary>
/// <returns></returns>
public ValueRanges GetContinousRanges()