Commit 06db7112 authored by Nigel Stewart's avatar Nigel Stewart
Browse files

Merge pull request #19 from omniavinco/master

Sort the enums in a stable manner
parents d32f4278 933e322d
...@@ -156,7 +156,11 @@ sub output_tokens($$) ...@@ -156,7 +156,11 @@ sub output_tokens($$)
if (${$tbl}{$b} =~ /_/) { if (${$tbl}{$b} =~ /_/) {
1 1
} else { } else {
hex ${$tbl}{$a} <=> hex ${$tbl}{$b} if (hex ${$tbl}{$a} eq hex ${$tbl}{$b}) {
$a cmp $b
} else {
hex ${$tbl}{$a} <=> hex ${$tbl}{$b}
}
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment