From e80f6089d4d753755bfa3be0fb51a6487bfcd3fe Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Thu, 3 Jan 2008 00:06:19 +0000 Subject: [PATCH] Cosmetic changes. --- Source/Bind/GL2/Generator.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index 22dca557..3b81baaa 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -247,9 +247,7 @@ namespace Bind.GL2 { // The value is a number, check if it should be unchecked. if (number > 0x7FFFFFFF) - { c.Unchecked = true; - } } else { @@ -309,22 +307,15 @@ namespace Bind.GL2 //e.Translate(); if (!enums.ContainsKey(e.Name)) - { enums.Add(e.Name, e); - } else { // The enum already exists, merge constants. - Trace.WriteLine(String.Format("Conflict: Enum {0} already exists, merging constants.", e.Name)); + Trace.WriteLine(String.Format("Enum {0} already defined, merging constants.", e.Name)); foreach (Constant t in e.ConstantCollection.Values) - { Utilities.Merge(enums[e.Name], t); - } } - - //enums.Add(e); } - //SpecTranslator.Merge(enums, complete_enum); } while (!specFile.EndOfStream);