Sort tokens within an enum

This allows us to keep a specific ordering regardless of the token order
in the input file (much friendlier for source control!)
This commit is contained in:
Stefanos A. 2013-10-28 14:08:55 +01:00
parent 1b937b48f8
commit 6f4530f8a8

View file

@ -39,7 +39,7 @@ namespace Bind.Structures
set { _type = value; }
}
Dictionary<string, Constant> _constant_collection = new Dictionary<string, Constant>();
SortedDictionary<string, Constant> _constant_collection = new SortedDictionary<string, Constant>();
public IDictionary<string, Constant> ConstantCollection
{