xkbcomp: Don't malloc() and free() most scanned tokens
authorDaniel Stone <daniel@fooishbar.org>
Tue, 15 Jun 2010 18:43:14 +0000 (19:43 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 22 Jun 2010 14:56:56 +0000 (15:56 +0100)
commite564235b436159f23a77270752ffdee1867f27c8
tree929ec76858a06eaee1a88044598631f92ce1cb40
parentf246db20f4d824b4286c00714b0c7e1b5a3d5b8f
xkbcomp: Don't malloc() and free() most scanned tokens

Use a constant buffer instead.  Sigh.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/parseutils.h
src/xkbcomp/xkbparse.y
src/xkbcomp/xkbscan.c