scanner: sort out scanner logging functions
authorRan Benita <ran234@gmail.com>
Mon, 10 Feb 2014 18:33:34 +0000 (20:33 +0200)
committerRan Benita <ran234@gmail.com>
Mon, 10 Feb 2014 18:33:34 +0000 (20:33 +0200)
commit28d5f7708cac3b78e62cc47768a4a9956300a6de
tree6725e2f4187b7a0784ac1862e3d508176cd19adc
parentc4259ff26841dfbb0c6b515b4f53af633af256be
scanner: sort out scanner logging functions

First, make the rules and xkb scanners/parsers use the same logging
functions instead of rolling their own.

Second, use the gcc ##__VA_ARGS extension instead of dealing with C99
stupidity. I hope all relevant compilers support it.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/parser-priv.h
src/xkbcomp/parser.y
src/xkbcomp/rules.c
src/xkbcomp/scanner-utils.h
src/xkbcomp/scanner.c