chsc/gogl — pull request #11 by ccherng (2012-07-25 10:24:49+00:00)
Title: Fix generation and use deterministic order in generator

Correctly handle right hand values of enums. For example, correctly use the value of COPY_READ_BUFFER_BINDING when GL_COPY_READ_BUFFER_BINDING is assigned to COPY_READ_BUFFER. This is needed since neither GL_COPY_READ_BUFFER_BINDING nor COPY_READ_BUFFER_BINDING will be emitted by the generator.

Also sort categories before emitting to ensure deterministic generator.