neelance/ffi-gen — pull request #12 by novogrammer (2012-07-09 13:41:21+00:00)
Title: Sort Declaration by file and line.

In case like below, declarations are not sorted.

#define A 1
enum EnumB{
EnumB_A,
EnumB_B,
};
#define C 3

A=1
C=3
enum :enum_b,[
:a,0
:b,1
]