mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
LwipMibCompiler: Don't preserve upper case on generated variables
This commit is contained in:
parent
b849e52c17
commit
b65a22b32a
@ -90,8 +90,8 @@ namespace LwipSnmpCodeGeneration
|
|||||||
VariableDeclaration GetExportDeclaration()
|
VariableDeclaration GetExportDeclaration()
|
||||||
{
|
{
|
||||||
return new VariableDeclaration(
|
return new VariableDeclaration(
|
||||||
new VariableType(this.Name, LwipDefs.Vt_StMib, null, ConstType.Value),
|
new VariableType(this.Name.ToLowerInvariant(), LwipDefs.Vt_StMib, null, ConstType.Value),
|
||||||
String.Format("{{{0}_base_oid, LWIP_ARRAYSIZE({0}_base_oid), &{1}.node}}", this.Name, this.FullNodeName));
|
String.Format("{{{0}_base_oid, LWIP_ARRAYSIZE({0}_base_oid), &{1}.node}}", this.Name.ToLowerInvariant(), this.FullNodeName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user