Avoid duplicating keysyms for merge if possible
authorDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 15:15:10 +0000 (16:15 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 15:15:10 +0000 (16:15 +0100)
commit2e009f69c701c53123654785ff5cf0a0c67c22b2
tree78fd2b661c0e3b323f10ab58e3a7fccb70d8cd49
parentd3dfd7deaba6ea09a3a4bcc2a4c1963472e024f7
Avoid duplicating keysyms for merge if possible

If we can merge cleanly (i.e. use the entirety of one entry rather than
having to go level by level), then just reuse the existing symbols array
and skip the entire merge process.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/symbols.c